aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:47:57 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:47:57 +0800
commita7da89d2a228975ee1c2df2c0aa0206123692c32 (patch)
tree037e4b382df70ed1659928c1456e06eb1d510bec /libempathy-gtk/empathy-chat.c
parentf3571f23063cebdea9e7c3fb0fa91e40c82cdaca (diff)
downloadgsoc2013-empathy-a7da89d2a228975ee1c2df2c0aa0206123692c32.tar
gsoc2013-empathy-a7da89d2a228975ee1c2df2c0aa0206123692c32.tar.gz
gsoc2013-empathy-a7da89d2a228975ee1c2df2c0aa0206123692c32.tar.bz2
gsoc2013-empathy-a7da89d2a228975ee1c2df2c0aa0206123692c32.tar.lz
gsoc2013-empathy-a7da89d2a228975ee1c2df2c0aa0206123692c32.tar.xz
gsoc2013-empathy-a7da89d2a228975ee1c2df2c0aa0206123692c32.tar.zst
gsoc2013-empathy-a7da89d2a228975ee1c2df2c0aa0206123692c32.zip
Always disconnect signals for safety on _finalize ().
svn path=/trunk/; revision=2062
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 35b91f876..606eb3d18 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1392,6 +1392,9 @@ chat_finalize (GObject *object)
chat_composing_remove_timeout (chat);
+ g_signal_handlers_disconnect_by_func (priv->account_manager,
+ chat_connection_changed_cb, object);
+
g_object_unref (priv->account_manager);
g_object_unref (priv->log_manager);