aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-11 21:10:47 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-11 21:10:47 +0800
commitcdf88fc610d44b191d3defd6e467c8efe548d8d5 (patch)
tree08bc5ffc2805804661ddd8f8223745ccd3cee3c3
parentf1f8d2bfac0faf990edc54a3d9bf908a1cff07a2 (diff)
downloadgsoc2013-empathy-cdf88fc610d44b191d3defd6e467c8efe548d8d5.tar
gsoc2013-empathy-cdf88fc610d44b191d3defd6e467c8efe548d8d5.tar.gz
gsoc2013-empathy-cdf88fc610d44b191d3defd6e467c8efe548d8d5.tar.bz2
gsoc2013-empathy-cdf88fc610d44b191d3defd6e467c8efe548d8d5.tar.lz
gsoc2013-empathy-cdf88fc610d44b191d3defd6e467c8efe548d8d5.tar.xz
gsoc2013-empathy-cdf88fc610d44b191d3defd6e467c8efe548d8d5.tar.zst
gsoc2013-empathy-cdf88fc610d44b191d3defd6e467c8efe548d8d5.zip
Disconnect invalidated signal before unref the connection.
svn path=/trunk/; revision=899
-rw-r--r--libempathy/empathy-tp-contact-list.c3
1 files changed, 3 insertions, 0 deletions
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);
}