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 719d966..7796e3d 100644
--- a/mate-settings-daemon/mate-settings-manager.c
+++ b/mate-settings-daemon/mate-settings-manager.c
@@ -426,15 +426,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