diff options
-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) { |