diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-11 21:11:38 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-11 21:11:38 +0800 |
commit | ed0e0cf4f678d9e3b13570d217d7960b5ffebdac (patch) | |
tree | e6fe1d7460329c64110a89d07a435b7501a4790f /libempathy-gtk/empathy-account-chooser.c | |
parent | 86b1cd7924f9436c5060787b3025ff5b25679e82 (diff) | |
download | gsoc2013-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-gtk/empathy-account-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index 5b1867e61..6b731ff73 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -223,9 +223,9 @@ empathy_account_chooser_new (void) g_signal_connect (priv->monitor, "account-deleted", G_CALLBACK (account_chooser_account_deleted_cb), chooser); - dbus_g_proxy_connect_signal (DBUS_G_PROXY (priv->mc), "AccountStatusChanged", - G_CALLBACK (account_chooser_status_changed_cb), - chooser, NULL); + empathy_connect_to_account_status_changed (priv->mc, + G_CALLBACK (account_chooser_status_changed_cb), + chooser, NULL); account_chooser_setup (EMPATHY_ACCOUNT_CHOOSER (chooser)); |