diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-07 00:46:17 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-07 00:46:17 +0800 |
commit | 8695a7bdd970a55af3528cfbf238af6b694fa3c8 (patch) | |
tree | a504cade3658000c53bec5d51c039bccf9e77599 | |
parent | e6a4bdc9a96edaad3b6aab6e423248af74cf9ce8 (diff) | |
download | gsoc2013-empathy-8695a7bdd970a55af3528cfbf238af6b694fa3c8.tar gsoc2013-empathy-8695a7bdd970a55af3528cfbf238af6b694fa3c8.tar.gz gsoc2013-empathy-8695a7bdd970a55af3528cfbf238af6b694fa3c8.tar.bz2 gsoc2013-empathy-8695a7bdd970a55af3528cfbf238af6b694fa3c8.tar.lz gsoc2013-empathy-8695a7bdd970a55af3528cfbf238af6b694fa3c8.tar.xz gsoc2013-empathy-8695a7bdd970a55af3528cfbf238af6b694fa3c8.tar.zst gsoc2013-empathy-8695a7bdd970a55af3528cfbf238af6b694fa3c8.zip |
Disconnect from the DBus signal on finalize.
svn path=/trunk/; revision=2030
-rw-r--r-- | libempathy/empathy-account-manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c index fea4fe72e..57fb991c3 100644 --- a/libempathy/empathy-account-manager.c +++ b/libempathy/empathy-account-manager.c @@ -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); |