telepathy-mission-control: Make account deletion async (sort of), and imply a selective commit
Simon McVittie
smcv at kemper.freedesktop.org
Thu Jan 30 04:34:40 PST 2014
Module: telepathy-mission-control
Branch: master
Commit: 561206632852eb2cea78ec60dfeb10a88a53cd63
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=561206632852eb2cea78ec60dfeb10a88a53cd63
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Nov 13 19:44:46 2013 +0000
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
---
mission-control-plugins/account-storage.c | 97 ++++++++++--------
mission-control-plugins/account-storage.h | 19 +++-
src/mcd-account-manager-default.c | 159 ++++++++++++++---------------
src/mcd-account.c | 2 -
src/mcd-storage.c | 28 ++++-
tests/twisted/dbus-account-plugin.c | 145 +++++++++++++-------------
tests/twisted/mcp-account-diversion.c | 41 ++++++--
7 files changed, 275 insertions(+), 216 deletions(-)
Diff: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/diff/?id=561206632852eb2cea78ec60dfeb10a88a53cd63
More information about the telepathy-commits
mailing list