]> git.0d.be Git - empathy.git/commitdiff
Disconnect invalidated signal before unref the connection.
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 11 Apr 2008 13:10:47 +0000 (13:10 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 11 Apr 2008 13:10:47 +0000 (13:10 +0000)
svn path=/trunk/; revision=899

libempathy/empathy-tp-contact-list.c

index 3c5bfdd1dbcde567fb0e0ee31a8d94a3d654805f..b22c5f9ea55c6fd88ba8d180c1eef705de45fc68 100644 (file)
@@ -603,6 +603,9 @@ tp_contact_list_finalize (GObject *object)
                g_object_unref (priv->account);
        }
        if (priv->connection) {
+               g_signal_handlers_disconnect_by_func (priv->connection,
+                                                     tp_contact_list_invalidated_cb,
+                                                     object);
                g_object_unref (priv->connection);
        }