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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 87d93c5ae..98d31b3b9 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1152,8 +1152,7 @@ accounts_dialog_response_cb (GtkWidget *widget,
/* FIXME: Warn the user the account is not
* complete and is going to be removed.
*/
- empathy_account_manager_remove
- (priv->account_manager, account);
+ empathy_account_remove_async (account, NULL, NULL);
g_object_unref (account);
}