summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-settings-daemon/mate-settings-manager.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mate-settings-daemon/mate-settings-manager.c b/mate-settings-daemon/mate-settings-manager.c
index 91b5d13..8c511a1 100644
--- a/mate-settings-daemon/mate-settings-manager.c
+++ b/mate-settings-daemon/mate-settings-manager.c
@@ -427,15 +427,18 @@ static void
mate_settings_manager_init (MateSettingsManager *manager)
{
char *schema;
- GSettings *settings;
manager->priv = mate_settings_manager_get_instance_private (manager);
schema = g_strdup_printf ("%s.plugins", DEFAULT_SETTINGS_PREFIX);
if (is_schema (schema)) {
+ GSettings *settings;
+
settings = g_settings_new (schema);
manager->priv->init_load_priority = g_settings_get_int (settings, "init-load-priority");
+ g_object_unref (settings);
}
+ g_free (schema);
}
static void