summaryrefslogtreecommitdiffstats
path: root/gdbus
diff options
context:
space:
mode:
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/gdbus.h3
-rw-r--r--gdbus/object.c25
2 files changed, 0 insertions, 28 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index 84e7e1ae..ffa5cf19 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
@@ -42,9 +42,6 @@ gboolean g_dbus_set_disconnect_function(DBusConnection *connection,
void dbus_message_iter_append_dict_entry(DBusMessageIter *dict,
const char *key, int type, void *val);
-void dbus_message_iter_append_dict_valist(DBusMessageIter *iter,
- const char *first_key,
- va_list var_args);
dbus_bool_t dbus_connection_emit_property_changed(DBusConnection *conn,
const char *path,
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)