From: Matthias Clasen Date: Mon, 28 Nov 2011 23:11:25 +0000 (-0500) Subject: Make stopping an action group export work X-Git-Tag: 2.31.4~69 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5002cb29358ed3161afe1395397ccd995806c281;p=platform%2Fupstream%2Fglib.git Make stopping an action group export work --- diff --git a/gio/gactiongroupexporter.c b/gio/gactiongroupexporter.c index 3cdb6ee..1ad5a6b 100644 --- a/gio/gactiongroupexporter.c +++ b/gio/gactiongroupexporter.c @@ -664,6 +664,8 @@ g_action_group_dbus_export_stop (GActionGroup *action_group) if G_UNLIKELY (exporter == NULL) return FALSE; + g_hash_table_remove (exported_groups, action_group); + g_dbus_connection_unregister_object (exporter->connection, exporter->registration_id); for (i = 0; i < G_N_ELEMENTS (exporter->signal_ids); i++) g_signal_handler_disconnect (exporter->action_group, exporter->signal_ids[i]);