summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/config.c b/src/config.c
index 19c06eb..41c0a27 100644
--- a/src/config.c
+++ b/src/config.c
@@ -50,15 +50,6 @@ struct item {
};
static void
-split_name(const gchar *name, gchar **group, gchar **key)
-{
- *group = g_strdup(name);
- *key = strchr(*group, '.');
- *(key[0]) = '\0';
- ++*key;
-}
-
-static void
set_type_or_run_callbacks(MqConfig *config, const gchar *name, gpointer value,
enum type type)
{
@@ -136,6 +127,15 @@ mq_config_save(MqConfig *config)
NULL);
}
+static void
+split_name(const gchar *name, gchar **group, gchar **key)
+{
+ *group = g_strdup(name);
+ *key = strchr(*group, '.');
+ *(key[0]) = '\0';
+ ++*key;
+}
+
gboolean
mq_config_get_boolean(MqConfig *config, const gchar *name)
{