diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-07 00:47:57 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-07 00:47:57 +0800 |
commit | a7da89d2a228975ee1c2df2c0aa0206123692c32 (patch) | |
tree | 037e4b382df70ed1659928c1456e06eb1d510bec /libempathy/empathy-contact-manager.c | |
parent | f3571f23063cebdea9e7c3fb0fa91e40c82cdaca (diff) | |
download | gsoc2013-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/empathy-contact-manager.c')
-rw-r--r-- | libempathy/empathy-contact-manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c index 315ea2c7a..2e50a53bd 100644 --- a/libempathy/empathy-contact-manager.c +++ b/libempathy/empathy-contact-manager.c @@ -185,7 +185,12 @@ contact_manager_finalize (GObject *object) contact_manager_disconnect_foreach, object); g_hash_table_destroy (priv->lists); + + g_signal_handlers_disconnect_by_func (priv->account_manager, + contact_manager_connection_changed_cb, + object); g_object_unref (priv->account_manager); + g_object_unref (priv->contact_monitor); } |