diff options
-rw-r--r-- | libmate-panel-applet/mate-panel-applet-gsettings.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmate-panel-applet/mate-panel-applet-gsettings.c b/libmate-panel-applet/mate-panel-applet-gsettings.c index df753585..9387053d 100644 --- a/libmate-panel-applet/mate-panel-applet-gsettings.c +++ b/libmate-panel-applet/mate-panel-applet-gsettings.c @@ -38,9 +38,10 @@ mate_panel_applet_settings_new (MatePanelApplet *applet, gchar *schema) path = mate_panel_applet_get_preferences_path (applet); - if (path) + if (path) { settings = g_settings_new_with_path (schema, path); g_free (path); + } return settings; } |