summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-04 14:23:33 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-04 14:23:33 (EDT)
commit85031d4969d7334f0fc0ddafef83f82b8efa314a (patch)
tree2e4592a023e84cdeb2def7e99295c77668b9dd1f
parent0ffa947f9f9f3820a7e9c7eb38d4a5efbd60993d (diff)
downloadmarquee-85031d4969d7334f0fc0ddafef83f82b8efa314a.zip
marquee-85031d4969d7334f0fc0ddafef83f82b8efa314a.tar.gz
marquee-85031d4969d7334f0fc0ddafef83f82b8efa314a.tar.bz2
mq_profiles_new(): Call g_key_file_new()
-rw-r--r--src/config/profiles.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/profiles.c b/src/config/profiles.c
index af2ff9c..23053a0 100644
--- a/src/config/profiles.c
+++ b/src/config/profiles.c
@@ -72,6 +72,7 @@ mq_profiles_new(void)
profiles->file_name = g_build_filename(g_get_user_config_dir(), PACKAGE,
"profiles", NULL);
+ profiles->key_file = g_key_file_new();
if (!create(profiles)) {
load(profiles);