[telepathy-mission-control/master] McdDispatcher: mcd_client_start_introspection: correctly disconnect from signal

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Sep 22 09:08:38 PDT 2009


---
 src/mcd-dispatcher.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 6d130d3..fba0d13 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1978,6 +1978,10 @@ mcd_client_start_introspection (McdClientProxy *proxy,
     McdClientProxy *client;
     const gchar *bus_name = tp_proxy_get_bus_name (proxy);
 
+    g_signal_handlers_disconnect_by_func (proxy,
+                                          mcd_client_start_introspection,
+                                          dispatcher);
+
     client = g_hash_table_lookup (dispatcher->priv->clients, bus_name);
 
     if (client == NULL)
-- 
1.5.6.5




More information about the telepathy-commits mailing list