dbus/glib dbus-gproxy.c,1.37,1.38
Ross Burton
ross at freedesktop.org
Tue Jul 26 05:16:24 EST 2005
Update of /cvs/dbus/dbus/glib
In directory gabe:/tmp/cvs-serv3247/glib
Modified Files:
dbus-gproxy.c
Log Message:
Remove matchers when all proxies are removed
Index: dbus-gproxy.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gproxy.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- dbus-gproxy.c 15 Jul 2005 13:25:48 -0000 1.37
+++ dbus-gproxy.c 25 Jul 2005 19:16:22 -0000 1.38
@@ -1020,9 +1020,15 @@
if (list->proxies == NULL)
{
+ char *rule;
g_hash_table_remove (manager->proxy_lists,
tri);
list = NULL;
+
+ rule = g_proxy_get_match_rule (proxy);
+ dbus_bus_remove_match (manager->connection,
+ rule, NULL);
+ g_free (rule);
}
if (g_hash_table_size (manager->proxy_lists) == 0)
More information about the dbus-commit
mailing list