diff options
author | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2010-09-13 20:35:36 +0100 |
---|---|---|
committer | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2010-09-13 21:50:20 +0100 |
commit | b594c4f37ea7e7be392683b27cc158c1148ebf77 (patch) | |
tree | 2108512a4be943e109b77f42c744487fe5d90473 | |
parent | 76f68b35e71a35856ad2aec7206727fb0b8e7346 (diff) | |
download | telepathy-mission-control-b594c4f37ea7e7be392683b27cc158c1148ebf77.tar.gz |
Hook up the actual McdStorage method implmentations to the interface
-rw-r--r-- | src/plugin-account.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/plugin-account.c b/src/plugin-account.c index 04c1cb48..ed21c490 100644 --- a/src/plugin-account.c +++ b/src/plugin-account.c @@ -789,6 +789,28 @@ _mcd_plugin_account_manager_ready (McdPluginAccountManager *self) mcp_account_storage_ready (plugin, ma); } } + +static void +storage_iface_init (McdStorageIface *iface, + gpointer unused G_GNUC_UNUSED) +{ + iface->load = _storage_load; + iface->dup_accounts = _storage_dup_accounts; + iface->dup_settings = _storage_dup_settings; + + iface->delete_account = _storage_delete_account; + iface->set_string = _storage_set_string; + iface->set_value = _storage_set_value; + iface->commit = _storage_commit; + + iface->has_value = _storage_has_value; + iface->get_storage_plugin = _storage_get_plugin; + iface->dup_value = _storage_dup_value; + iface->dup_string = _storage_dup_string; + iface->get_integer = _storage_get_integer; + iface->get_boolean = _storage_get_boolean; +} + static void plugin_iface_init (McpAccountManagerIface *iface, gpointer unused G_GNUC_UNUSED) |