aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:48:45 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:48:45 +0800
commitaef8f7c5f413cd7830d01476be8d36c2f485a828 (patch)
treef3299e2633f9eb8c393db0fe14c8703d32de4840
parent68bfd7c8e82ceeea04b4bb12173b0c93ecbdf57e (diff)
downloadgsoc2013-empathy-aef8f7c5f413cd7830d01476be8d36c2f485a828.tar
gsoc2013-empathy-aef8f7c5f413cd7830d01476be8d36c2f485a828.tar.gz
gsoc2013-empathy-aef8f7c5f413cd7830d01476be8d36c2f485a828.tar.bz2
gsoc2013-empathy-aef8f7c5f413cd7830d01476be8d36c2f485a828.tar.lz
gsoc2013-empathy-aef8f7c5f413cd7830d01476be8d36c2f485a828.tar.xz
gsoc2013-empathy-aef8f7c5f413cd7830d01476be8d36c2f485a828.tar.zst
gsoc2013-empathy-aef8f7c5f413cd7830d01476be8d36c2f485a828.zip
Disconnect all signals from the EmpathyAccountChooser when finalizing.
svn path=/trunk/; revision=2077
-rw-r--r--libempathy-gtk/empathy-account-chooser.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c
index 612d07f13..5d93efcc2 100644
--- a/libempathy-gtk/empathy-account-chooser.c
+++ b/libempathy-gtk/empathy-account-chooser.c
@@ -158,6 +158,12 @@ account_chooser_finalize (GObject *object)
g_signal_handlers_disconnect_by_func (priv->manager,
account_chooser_connection_changed_cb,
object);
+ g_signal_handlers_disconnect_by_func (priv->manager,
+ account_chooser_account_created_cb,
+ object);
+ g_signal_handlers_disconnect_by_func (priv->manager,
+ account_chooser_account_deleted_cb,
+ object);
g_object_unref (priv->manager);
G_OBJECT_CLASS (empathy_account_chooser_parent_class)->finalize (object);