aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-04-11 21:10:47 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-04-11 21:10:47 +0800
commit63f50b47853bd3e87974d96eb35eab26064f4b12 (patch)
tree08bc5ffc2805804661ddd8f8223745ccd3cee3c3 /libempathy
parentd133c75df858bf169c3f706ffaf6a6823459c509 (diff)
downloadgsoc2013-empathy-63f50b47853bd3e87974d96eb35eab26064f4b12.tar
gsoc2013-empathy-63f50b47853bd3e87974d96eb35eab26064f4b12.tar.gz
gsoc2013-empathy-63f50b47853bd3e87974d96eb35eab26064f4b12.tar.bz2
gsoc2013-empathy-63f50b47853bd3e87974d96eb35eab26064f4b12.tar.lz
gsoc2013-empathy-63f50b47853bd3e87974d96eb35eab26064f4b12.tar.xz
gsoc2013-empathy-63f50b47853bd3e87974d96eb35eab26064f4b12.tar.zst
gsoc2013-empathy-63f50b47853bd3e87974d96eb35eab26064f4b12.zip
Disconnect invalidated signal before unref the connection.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@899 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-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);
}