From eea33a0d62b99342a67becde98d2b7eb78754896 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 23 Apr 2014 20:01:33 +0200 Subject: Use common GSettings function from libmate-desktop --- mate-panel/panel-layout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mate-panel/panel-layout.c') 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 #include +#include #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); -- cgit v1.2.1