diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 6 | ||||
-rw-r--r-- | libempathy-gtk/empathy-accounts-dialog.c | 6 | ||||
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 6 |
3 files changed, 9 insertions, 9 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)); diff --git a/libempathy-gtk/empathy-accounts-dialog.c b/libempathy-gtk/empathy-accounts-dialog.c index 958d709ab..6f4421b88 100644 --- a/libempathy-gtk/empathy-accounts-dialog.c +++ b/libempathy-gtk/empathy-accounts-dialog.c @@ -1074,9 +1074,9 @@ empathy_accounts_dialog_show (GtkWindow *parent) g_signal_connect (dialog->monitor, "account-disabled", G_CALLBACK (accounts_dialog_account_enabled_cb), dialog); - dbus_g_proxy_connect_signal (DBUS_G_PROXY (dialog->mc), "AccountStatusChanged", - G_CALLBACK (accounts_dialog_status_changed_cb), - dialog, NULL); + empathy_connect_to_account_status_changed (dialog->mc, + G_CALLBACK (accounts_dialog_status_changed_cb), + dialog, NULL); accounts_dialog_model_setup (dialog); accounts_dialog_setup (dialog); diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 3be3302f6..0328c4ee9 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1537,9 +1537,9 @@ empathy_chat_init (EmpathyChat *chat) priv->sent_messages_index = -1; priv->mc = empathy_mission_control_new (); - dbus_g_proxy_connect_signal (DBUS_G_PROXY (priv->mc), "AccountStatusChanged", - G_CALLBACK (chat_status_changed_cb), - chat, NULL); + empathy_connect_to_account_status_changed (priv->mc, + G_CALLBACK (chat_status_changed_cb), + chat, NULL); /* Block events for some time to avoid having "has come online" or * "joined" messages. */ |