diff options
-rw-r--r-- | src/empathy-accounts-dialog.c | 2 | ||||
-rw-r--r-- | src/empathy.c | 2 |
2 files changed, 2 insertions, 2 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)); diff --git a/src/empathy.c b/src/empathy.c index 15672c8df..650129ebb 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -216,7 +216,7 @@ salut_account_created (GObject *source, account = empathy_account_settings_get_account (settings); - empathy_account_set_enabled (account, TRUE); + empathy_account_set_enabled_async (account, TRUE, NULL, NULL); empathy_conf_set_bool (empathy_conf_get (), EMPATHY_PREFS_SALUT_ACCOUNT_CREATED, TRUE); |