diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-31 02:18:48 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-31 02:18:48 +0200 |
commit | 9db262544779363c9bb157058b371e9d86895a6d (patch) | |
tree | 05296d5e1125973085cb3e703d65116d8486af12 | |
parent | 39b8891dadd061429d6e768551680e7814f8a663 (diff) |
Remove g_dbus_unregister_all_interfaces function
-rw-r--r-- | gdbus/gdbus.h | 2 | ||||
-rw-r--r-- | gdbus/object.c | 19 |
2 files changed, 0 insertions, 21 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index eefd3734..5a318c0e 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -88,8 +88,6 @@ gboolean g_dbus_register_interface(DBusConnection *connection, GDBusDestroyFunction destroy); gboolean g_dbus_unregister_interface(DBusConnection *connection, const char *path, const char *name); -gboolean g_dbus_unregister_all_interfaces(DBusConnection *connection, - const char *path); DBusMessage *g_dbus_create_error(DBusMessage *message, const char *name, const char *format, ...); diff --git a/gdbus/object.c b/gdbus/object.c index 09a841e5..65d26377 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -520,25 +520,6 @@ gboolean g_dbus_unregister_interface(DBusConnection *connection, return TRUE; } -gboolean g_dbus_unregister_all_interfaces(DBusConnection *connection, - const char *path) -{ - struct generic_data *data = NULL; - - if (dbus_connection_get_object_path_data(connection, path, - (void *) &data) == FALSE) - return FALSE; - - if (data == NULL) - return FALSE; - - invalidate_parent_data(connection, path); - - dbus_connection_unregister_object_path(connection, path); - - return TRUE; -} - DBusMessage *g_dbus_create_error_valist(DBusMessage *message, const char *name, const char *format, va_list args) { |