empathy r2077 - trunk/libempathy-gtk



Author: xclaesse
Date: Tue Jan  6 16:48:45 2009
New Revision: 2077
URL: http://svn.gnome.org/viewvc/empathy?rev=2077&view=rev

Log:
Disconnect all signals from the EmpathyAccountChooser when finalizing.

Modified:
   trunk/libempathy-gtk/empathy-account-chooser.c

Modified: trunk/libempathy-gtk/empathy-account-chooser.c
==============================================================================
--- trunk/libempathy-gtk/empathy-account-chooser.c	(original)
+++ trunk/libempathy-gtk/empathy-account-chooser.c	Tue Jan  6 16:48:45 2009
@@ -158,6 +158,12 @@
 	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]