aboutsummaryrefslogtreecommitdiff
path: root/qobject
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-12-11 18:11:44 +0100
committerMarkus Armbruster <armbru@redhat.com>2020-12-19 10:39:16 +0100
commit808ac3657e4eb8e9fa62f57507c6d2eaa2557466 (patch)
treec9f5f551b25aee0860aa72d26bdfddf4b8097a09 /qobject
parent26c52828f6e7760407e5bb43a2fab3a276eccf43 (diff)
qobject: Drop qobject_get_try_str()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201211171152.146877-13-armbru@redhat.com>
Diffstat (limited to 'qobject')
-rw-r--r--qobject/qstring.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/qobject/qstring.c b/qobject/qstring.c
index d6724bd4e5..cfe3f3bf00 100644
--- a/qobject/qstring.c
+++ b/qobject/qstring.c
@@ -150,17 +150,6 @@ const char *qstring_get_try_str(const QString *qstring)
}
/**
- * qobject_get_try_str(): Return a pointer to the corresponding string
- *
- * NOTE: the string will only be returned if the object is valid, and
- * its type is QString, otherwise NULL is returned.
- */
-const char *qobject_get_try_str(const QObject *qstring)
-{
- return qstring_get_try_str(qobject_to(QString, qstring));
-}
-
-/**
* qstring_is_equal(): Test whether the two QStrings are equal
*/
bool qstring_is_equal(const QObject *x, const QObject *y)