[telepathy-mission-control/master] McdDispatcher: don't forcibly remove clients from registry on teardown

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Oct 19 07:01:05 PDT 2009


The client registry should be able to do this by itself (and indeed it
does).
---
 src/mcd-dispatcher.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 1ae20b3..2cc84da 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1788,7 +1788,6 @@ _mcd_dispatcher_dispose (GObject * object)
         while (g_hash_table_iter_next (&iter, NULL, &client_p))
         {
             mcd_dispatcher_discard_client ((McdDispatcher *) object, client_p);
-            g_hash_table_iter_remove (&iter);
         }
 
         g_object_unref (priv->clients);
-- 
1.5.6.5




More information about the telepathy-commits mailing list