aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-21 19:11:35 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-21 19:11:35 +0800
commit004e5e331b89484f2448ab81d0e97cfc3b47af18 (patch)
tree4eea8d5349942d490b4ef9fac9c6c62d91177a20 /libempathy
parent1382956b87b5114aa35f4357d7edcf9d5507a2c0 (diff)
downloadgsoc2013-empathy-004e5e331b89484f2448ab81d0e97cfc3b47af18.tar
gsoc2013-empathy-004e5e331b89484f2448ab81d0e97cfc3b47af18.tar.gz
gsoc2013-empathy-004e5e331b89484f2448ab81d0e97cfc3b47af18.tar.bz2
gsoc2013-empathy-004e5e331b89484f2448ab81d0e97cfc3b47af18.tar.lz
gsoc2013-empathy-004e5e331b89484f2448ab81d0e97cfc3b47af18.tar.xz
gsoc2013-empathy-004e5e331b89484f2448ab81d0e97cfc3b47af18.tar.zst
gsoc2013-empathy-004e5e331b89484f2448ab81d0e97cfc3b47af18.zip
Fix ref count error for account objects.
2007-09-21 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-list-view.c: Fix ref count error for account objects. * libempathy/empathy-contact-manager.c: Disconnect signals from MissionControl object when finalising the contact manager. * configure.ac: * megaphone/src/megaphone-applet.c: * megaphone/src/Makefile.am: * megaphone/src/megaphone-applet.h: * megaphone/data/GNOME_Megaphone_Applet.schemas.in: * megaphone/data/Makefile.am: * megaphone/data/GNOME_Megaphone_Applet.server.in.in: * megaphone/data/GNOME_Megaphone_Applet.xml: * megaphone/Makefile.am: * nothere/src/nothere-applet.c: * nothere/src/Makefile.am: * nothere/src/nothere-applet.h: * nothere/data/Makefile.am: * nothere/data/GNOME_NotHere_Applet.server.in.in: * nothere/data/GNOME_NotHere_Applet.xml: * nothere/Makefile.am: * Makefile.am: * po/POTFILES.in: * po/POTFILES.skip: Add Megaphone and Nothere applets. Fixes bug #464954 (Raphael Slinckx, Xavier Claessens). svn path=/trunk/; revision=303
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact-manager.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 575814fab..e11f829ed 100644
--- a/libempathy/empathy-contact-manager.c
+++ b/libempathy/empathy-contact-manager.c
@@ -189,6 +189,11 @@ contact_manager_finalize (GObject *object)
{
EmpathyContactManagerPriv *priv = GET_PRIV (object);
+ dbus_g_proxy_disconnect_signal (DBUS_G_PROXY (priv->mc),
+ "AccountStatusChanged",
+ G_CALLBACK (contact_manager_status_changed_cb),
+ object);
+
g_hash_table_foreach (priv->lists,
contact_manager_disconnect_foreach,
object);