summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2010-09-13 20:31:04 +0100
committerVivek Dasmohapatra <vivek@collabora.co.uk>2010-09-13 21:50:20 +0100
commit4a1ef90e2016b631dd606facb12096b7b8b9dec0 (patch)
tree0317d3c70221da7c67d339874860b66105981362
parent01fd9a07d6aaccaabeac572584858e489f1506bc (diff)
downloadtelepathy-mission-control-4a1ef90e2016b631dd606facb12096b7b8b9dec0.tar.gz
Implement getting booleans from the store
-rw-r--r--src/plugin-account.c10
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,