empathy r2030 - trunk/libempathy



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

Log:
Disconnect from the DBus signal on finalize.

Modified:
   trunk/libempathy/empathy-account-manager.c

Modified: trunk/libempathy/empathy-account-manager.c
==============================================================================
--- trunk/libempathy/empathy-account-manager.c	(original)
+++ trunk/libempathy/empathy-account-manager.c	Tue Jan  6 16:46:17 2009
@@ -284,6 +284,11 @@
 	EmpathyAccountManager *manager = EMPATHY_ACCOUNT_MANAGER (obj);
 	EmpathyAccountManagerPriv *priv = GET_PRIV (manager);
 
+	dbus_g_proxy_disconnect_signal (DBUS_G_PROXY (priv->mc),
+					"AccountStatusChanged",
+					G_CALLBACK (account_status_changed_cb),
+					obj);
+
 	g_object_unref (priv->monitor);
 	g_object_unref (priv->mc);
 



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