diff options
author | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2010-09-13 20:31:04 +0100 |
---|---|---|
committer | Vivek Dasmohapatra <vivek@collabora.co.uk> | 2010-09-13 21:50:20 +0100 |
commit | 4a1ef90e2016b631dd606facb12096b7b8b9dec0 (patch) | |
tree | 0317d3c70221da7c67d339874860b66105981362 | |
parent | 01fd9a07d6aaccaabeac572584858e489f1506bc (diff) | |
download | telepathy-mission-control-4a1ef90e2016b631dd606facb12096b7b8b9dec0.tar.gz |
Implement getting booleans from the store
-rw-r--r-- | src/plugin-account.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugin-account.c b/src/plugin-account.c index 3d6b5730..5c1624b3 100644 --- a/src/plugin-account.c +++ b/src/plugin-account.c @@ -529,6 +529,16 @@ _storage_dup_value (McdStorage *storage, return value; } +static gboolean +_storage_get_boolean (McdStorage *storage, + const gchar *account, + const gchar *key) +{ + McdPluginAccountManager *self = MCD_PLUGIN_ACCOUNT_MANAGER (storage); + + return g_key_file_get_boolean (self->keyfile, account, key, NULL); +} + static void update_storage (McdPluginAccountManager *self, const gchar *account, |