]> git.0d.be Git - empathy.git/commitdiff
Use the remove function account
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 17 Aug 2009 16:54:25 +0000 (17:54 +0100)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 17 Aug 2009 16:54:25 +0000 (17:54 +0100)
src/empathy-accounts-dialog.c

index 87d93c5ae700eaa08cd0adef51d518b6c6a25a8d..98d31b3b9a0bcad49814a985b88ac6d9734c03ce 100644 (file)
@@ -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);
         }