diff options
-rw-r--r-- | mate-panel/panel-config-global.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mate-panel/panel-config-global.c b/mate-panel/panel-config-global.c index e31c1563..1e1f34de 100644 --- a/mate-panel/panel-config-global.c +++ b/mate-panel/panel-config-global.c @@ -123,12 +123,15 @@ panel_global_config_notify (GSettings *settings, void panel_global_config_load (void) { + GSettingsSchema *schema; gchar **keys; gint i; panel_global_settings = g_settings_new ("org.mate.panel"); - keys = g_settings_list_keys (panel_global_settings); + g_object_get (panel_global_settings, "settings-schema", &schema, NULL); + keys = g_settings_schema_list_keys (schema); + g_settings_schema_unref (schema); for (i = 0; keys[i]; i++) { panel_global_config_set_entry (panel_global_settings, keys[i]); |