summaryrefslogtreecommitdiffstats
path: root/gdbus/object.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-07 19:53:51 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-07 19:53:51 +0000
commita1a65a6821bddc4d3e076b8600e4bd497a64d162 (patch)
treea6245a3609e4216a737925c5d42312fbb7365e18 /gdbus/object.c
parent012cac6d32c56eac1d4f8dbc6051b2450e809efc (diff)
Don't abstract functions that are only used once
Diffstat (limited to 'gdbus/object.c')
-rw-r--r--gdbus/object.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/gdbus/object.c b/gdbus/object.c
index 61b46a26..8e362be5 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -448,31 +448,6 @@ void dbus_message_iter_append_dict_entry(DBusMessageIter *dict,
dbus_message_iter_close_container(dict, &entry);
}
-void dbus_message_iter_append_dict_valist(DBusMessageIter *iter,
- const char *first_key,
- va_list var_args)
-{
- DBusMessageIter dict;
- const char *key;
- int type;
- void *val;
-
- dbus_message_iter_open_container(iter, DBUS_TYPE_ARRAY,
- DBUS_DICT_ENTRY_BEGIN_CHAR_AS_STRING
- DBUS_TYPE_STRING_AS_STRING DBUS_TYPE_VARIANT_AS_STRING
- DBUS_DICT_ENTRY_END_CHAR_AS_STRING, &dict);
-
- key = first_key;
- while (key) {
- type = va_arg(var_args, int);
- val = va_arg(var_args, void *);
- dbus_message_iter_append_dict_entry(&dict, key, type, val);
- key = va_arg(var_args, char *);
- }
-
- dbus_message_iter_close_container(iter, &dict);
-}
-
static gboolean check_signal(DBusConnection *conn, const char *path,
const char *interface, const char *name,
const char **args)