telepathy-mission-control: Remove mcp_account_storage_set()

Simon McVittie smcv at kemper.freedesktop.org
Thu Jan 30 04:34:40 PST 2014


Module: telepathy-mission-control
Branch: master
Commit: 65e376653dfea9d1b3712f8429b657f9d4338386
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=65e376653dfea9d1b3712f8429b657f9d4338386

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Nov 12 16:00:31 2013 +0000

Remove mcp_account_storage_set()

_set_attribute() and _set_parameter() are now mandatory for writable
storage plugins.

Note that most of the keyfile escaping code is still needed to help
plugins to read their old keyfile values.

[adjusted to apply earlier in the branch; left in the code that
detects whether mcd_storage_set_parameter() is a no-op for an
escaped parameter; took out mcp_account_storage_emit_created
documentation fix -smcv]

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71384
Signed-off-by: Simon McVittie <simon.mcvittie at collabora.co.uk>

---

 mission-control-plugins/account-storage.c |   76 ++---------------------------
 mission-control-plugins/account-storage.h |   13 -----
 src/mcd-account-manager-default.c         |   11 -----
 src/mcd-storage.c                         |   28 +++--------
 tests/twisted/dbus-account-plugin.c       |   13 -----
 tests/twisted/mcp-account-diversion.c     |   48 +++++++++++++++---
 6 files changed, 52 insertions(+), 137 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-mission-control/diff/?id=65e376653dfea9d1b3712f8429b657f9d4338386


More information about the telepathy-commits mailing list