[glib] Make stopping an action group export work
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Make stopping an action group export work
- Date: Thu, 8 Dec 2011 23:12:37 +0000 (UTC)
commit 5002cb29358ed3161afe1395397ccd995806c281
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 28 18:11:25 2011 -0500
Make stopping an action group export work
gio/gactiongroupexporter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]