]> git.0d.be Git - empathy.git/commitdiff
Disconnect from the DBus signal on finalize.
authorXavier Claessens <xclaesse@src.gnome.org>
Tue, 6 Jan 2009 16:46:17 +0000 (16:46 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 6 Jan 2009 16:46:17 +0000 (16:46 +0000)
svn path=/trunk/; revision=2030

libempathy/empathy-account-manager.c

index fea4fe72ebdc34f7221586de33d04ae197a08b77..57fb991c3aad9eee4ce90cab4de9c8bd5f520060 100644 (file)
@@ -284,6 +284,11 @@ do_finalize (GObject *obj)
        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);