diff options
author | Stefano Karapetsas <[email protected]> | 2014-04-23 20:01:33 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-04-23 20:01:33 +0200 |
commit | eea33a0d62b99342a67becde98d2b7eb78754896 (patch) | |
tree | c9fc367163f583d1c3d9e6dab164e78ec3f7f45f /mate-panel/panel-layout.c | |
parent | 0da16b7a0f2d43d50c3087ba904b224eb7e846b3 (diff) | |
download | mate-panel-eea33a0d62b99342a67becde98d2b7eb78754896.tar.bz2 mate-panel-eea33a0d62b99342a67becde98d2b7eb78754896.tar.xz |
Use common GSettings function from libmate-desktop
Diffstat (limited to 'mate-panel/panel-layout.c')
-rw-r--r-- | mate-panel/panel-layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mate-panel/panel-layout.c b/mate-panel/panel-layout.c index 9b1d2801..d3a4a9a2 100644 --- a/mate-panel/panel-layout.c +++ b/mate-panel/panel-layout.c @@ -30,10 +30,10 @@ #include <gio/gio.h> #include <libmate-desktop/mate-dconf.h> +#include <libmate-desktop/mate-gsettings.h> #include "panel-layout.h" #include "panel-profile.h" -#include "panel-gsettings.h" #include "panel-schemas.h" #include "panel-enums.h" @@ -150,7 +150,7 @@ panel_layout_append_group_helper (GKeyFile *keyfile, if (!*id) id = NULL; - if (id && !panel_gsettings_is_valid_keyname (id, &error)) { + if (id && !mate_gsettings_is_valid_keyname (id, &error)) { g_warning ("Invalid id name in layout '%s' (%s)", id, error->message); g_error_free (error); return FALSE; @@ -256,7 +256,7 @@ panel_layout_append_group_helper (GKeyFile *keyfile, GSettings *panel_settings; panel_settings = g_settings_new (PANEL_SCHEMA); - panel_gsettings_append_strv (panel_settings, + mate_gsettings_append_strv (panel_settings, id_list_key, unique_id); g_object_unref (panel_settings); |