diff options
-rw-r--r-- | src/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.c b/src/config.c index b63e4a5..12b723e 100644 --- a/src/config.c +++ b/src/config.c @@ -180,7 +180,7 @@ mq_config_set_boolean(MqConfig *config, const gchar *name, gboolean value) split_name(name, &group, &key); - g_key_file_set_boolean(config->key_file, group, name, value); + g_key_file_set_boolean(config->key_file, group, key, value); set_type_or_run_callbacks(config, name, &value, TYPE_BOOLEAN); } @@ -193,7 +193,7 @@ mq_config_set_integer(MqConfig *config, const gchar *name, gint value) split_name(name, &group, &key); - g_key_file_set_integer(config->key_file, group, name, value); + g_key_file_set_integer(config->key_file, group, key, value); set_type_or_run_callbacks(config, name, &value, TYPE_INTEGER); } @@ -206,7 +206,7 @@ mq_config_set_double(MqConfig *config, const gchar *name, gdouble value) split_name(name, &group, &key); - g_key_file_set_double(config->key_file, group, name, value); + g_key_file_set_double(config->key_file, group, key, value); set_type_or_run_callbacks(config, name, &value, TYPE_DOUBLE); } |