summaryrefslogtreecommitdiff
path: root/src/mcd-account.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-11-13 19:44:46 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-01-29 19:28:30 +0000
commit561206632852eb2cea78ec60dfeb10a88a53cd63 (patch)
tree240d125c6167a69ea8f67a6f9e1d5a204b7214b6 /src/mcd-account.c
parentb1681efb1e541072bd23d70d2a25e2a521f2d271 (diff)
Make account deletion async (sort of), and imply a selective commit
This means we don't need to commit separately after each deletion, and means account plugins don't have to have the concept of flagging an account for "delete this later" - much rejoicing. It also has the incidental benefit that we no longer use the C++ reserved word 'delete' in a header file. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27727
Diffstat (limited to 'src/mcd-account.c')
-rw-r--r--src/mcd-account.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mcd-account.c b/src/mcd-account.c
index 6c08d8ea..e70eaadf 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -765,8 +765,6 @@ mcd_account_delete_async (McdAccount *account,
g_free (data_dir_str);
}
- mcd_storage_commit (priv->storage, name);
-
if (!priv->removed)
{
DEBUG ("emitting Account.Removed for %s", name);