aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-manager.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-11 21:11:38 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-11 21:11:38 +0800
commited0e0cf4f678d9e3b13570d217d7960b5ffebdac (patch)
treee6fe1d7460329c64110a89d07a435b7501a4790f /libempathy/empathy-contact-manager.c
parent86b1cd7924f9436c5060787b3025ff5b25679e82 (diff)
downloadgsoc2013-empathy-ed0e0cf4f678d9e3b13570d217d7960b5ffebdac.tar
gsoc2013-empathy-ed0e0cf4f678d9e3b13570d217d7960b5ffebdac.tar.gz
gsoc2013-empathy-ed0e0cf4f678d9e3b13570d217d7960b5ffebdac.tar.bz2
gsoc2013-empathy-ed0e0cf4f678d9e3b13570d217d7960b5ffebdac.tar.lz
gsoc2013-empathy-ed0e0cf4f678d9e3b13570d217d7960b5ffebdac.tar.xz
gsoc2013-empathy-ed0e0cf4f678d9e3b13570d217d7960b5ffebdac.tar.zst
gsoc2013-empathy-ed0e0cf4f678d9e3b13570d217d7960b5ffebdac.zip
We can't use *_run_* API from dbus signal cb or method implementation. To avoid problems move the code to a g_idle cb.
svn path=/trunk/; revision=922
Diffstat (limited to 'libempathy/empathy-contact-manager.c')
-rw-r--r--libempathy/empathy-contact-manager.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 1ef3b683a..a151dbd26 100644
--- a/libempathy/empathy-contact-manager.c
+++ b/libempathy/empathy-contact-manager.c
@@ -225,10 +225,9 @@ empathy_contact_manager_init (EmpathyContactManager *manager)
priv->mc = empathy_mission_control_new ();
- dbus_g_proxy_connect_signal (DBUS_G_PROXY (priv->mc),
- "AccountStatusChanged",
- G_CALLBACK (contact_manager_status_changed_cb),
- manager, NULL);
+ empathy_connect_to_account_status_changed (priv->mc,
+ G_CALLBACK (contact_manager_status_changed_cb),
+ manager, NULL);
/* Get ContactList for existing connections */
accounts = mission_control_get_online_connections (priv->mc, NULL);