summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-08 11:14:24 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-08 11:14:24 (EST)
commitc7aa5b3cf18522031c7d80bc85779117d5f61adf (patch)
treee79b86c2f2a4629cefde8b6fc921a1ffb59c0200 /src
parentefb849c2661da7d12cf03f039b92ddfa30715d66 (diff)
downloadmarquee-c7aa5b3cf18522031c7d80bc85779117d5f61adf.zip
marquee-c7aa5b3cf18522031c7d80bc85779117d5f61adf.tar.gz
marquee-c7aa5b3cf18522031c7d80bc85779117d5f61adf.tar.bz2
mq_config_deref(): Rename to mq_config_free()
Diffstat (limited to 'src')
-rw-r--r--src/config/config.c2
-rw-r--r--src/config/config.h2
-rw-r--r--src/config/profiles.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 4db1134..2a37cc2 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -199,7 +199,7 @@ mq_config_new(const gchar *profile, MqConfigProfile profile_type)
}
void
-mq_config_deref(MqConfig *config)
+mq_config_free(MqConfig *config)
{
g_free(config->profile);
g_free(config->file_name);
diff --git a/src/config/config.h b/src/config/config.h
index 2285e1c..ec49dbe 100644
--- a/src/config/config.h
+++ b/src/config/config.h
@@ -46,7 +46,7 @@ MqConfig *
mq_config_new(const gchar *profile, MqConfigProfile profile_type);
void
-mq_config_deref(MqConfig *config);
+mq_config_free(MqConfig *config);
gboolean
mq_config_load(MqConfig *config);
diff --git a/src/config/profiles.c b/src/config/profiles.c
index 9fbba95..dbd4e29 100644
--- a/src/config/profiles.c
+++ b/src/config/profiles.c
@@ -62,7 +62,7 @@ create(MqProfiles *profiles)
config = mq_config_new(default_profile,
MQ_CONFIG_PROFILE_DEFAULT);
mq_config_save(config);
- mq_config_deref(config);
+ mq_config_free(config);
mq_profiles_set_default(profiles, default_profile);
g_free(default_profile);
}
@@ -71,7 +71,7 @@ create(MqProfiles *profiles)
config = mq_config_new(private_profile,
MQ_CONFIG_PROFILE_PRIVATE);
mq_config_save(config);
- mq_config_deref(config);
+ mq_config_free(config);
g_free(private_profile);
}