aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 8b896676d..391c42b6d 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -446,7 +446,7 @@ accounts_dialog_enable_toggled_cb (GtkCellRendererToggle *cell_renderer,
return;
enabled = empathy_account_is_enabled (account);
- empathy_account_set_enabled (account, !enabled);
+ empathy_account_set_enabled_async (account, !enabled, NULL, NULL);
DEBUG ("%s account %s", enabled ? "Disabled" : "Enable",
empathy_account_get_display_name (account));