summaryrefslogtreecommitdiff
path: root/libmate-panel-applet
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-21 18:43:29 +0300
committermonsta <[email protected]>2016-11-21 18:43:29 +0300
commit084aa57d1c64b5961363c66446afc8a6ba993315 (patch)
tree8b9797aca2be528b5d12b4f519f21fd669582cf0 /libmate-panel-applet
parent68af2ff04bddee08398843f9be36630e4cc9e7bb (diff)
downloadmate-panel-084aa57d1c64b5961363c66446afc8a6ba993315.tar.bz2
mate-panel-084aa57d1c64b5961363c66446afc8a6ba993315.tar.xz
libmate-panel-applet: add missing brackets
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r--libmate-panel-applet/mate-panel-applet-gsettings.c3
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;
}