summaryrefslogtreecommitdiff
path: root/qobject/qdict.c
diff options
context:
space:
mode:
Diffstat (limited to 'qobject/qdict.c')
-rw-r--r--qobject/qdict.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/qobject/qdict.c b/qobject/qdict.c
index 1e588123d0..45c8b53361 100644
--- a/qobject/qdict.c
+++ b/qobject/qdict.c
@@ -38,17 +38,6 @@ QDict *qdict_new(void)
}
/**
- * qobject_to_qdict(): Convert a QObject into a QDict
- */
-QDict *qobject_to_qdict(const QObject *obj)
-{
- if (!obj || qobject_type(obj) != QTYPE_QDICT) {
- return NULL;
- }
- return container_of(obj, QDict, base);
-}
-
-/**
* tdb_hash(): based on the hash agorithm from gdbm, via tdb
* (from module-init-tools)
*/