From cdf88fc610d44b191d3defd6e467c8efe548d8d5 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 11 Apr 2008 13:10:47 +0000 Subject: Disconnect invalidated signal before unref the connection. svn path=/trunk/; revision=899 --- libempathy/empathy-tp-contact-list.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy') diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index 3c5bfdd1d..b22c5f9ea 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -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); } -- cgit v1.2.3