summaryrefslogtreecommitdiff
path: root/mate-panel/panel-profile.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-04-21 13:41:23 +0200
committerStefano Karapetsas <[email protected]>2014-04-21 13:41:23 +0200
commit0da16b7a0f2d43d50c3087ba904b224eb7e846b3 (patch)
tree31e2f1bfaa31e3f6817b29965f73197abfac635a /mate-panel/panel-profile.c
parentcee5574921774fe9ae6041e2aefc2e0c5129e1af (diff)
downloadmate-panel-0da16b7a0f2d43d50c3087ba904b224eb7e846b3.tar.bz2
mate-panel-0da16b7a0f2d43d50c3087ba904b224eb7e846b3.tar.xz
Use dconf functions from libmate-desktop
Diffstat (limited to 'mate-panel/panel-profile.c')
-rw-r--r--mate-panel/panel-profile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c
index f6299af8..5ddca421 100644
--- a/mate-panel/panel-profile.c
+++ b/mate-panel/panel-profile.c
@@ -32,7 +32,7 @@
#include <gio/gio.h>
#include <libpanel-util/panel-list.h>
-#include <libpanel-util/panel-dconf.h>
+#include <libmate-desktop/mate-dconf.h>
#include "applet.h"
#include "panel.h"
@@ -147,7 +147,7 @@ panel_profile_find_new_id (PanelGSettingsKeyType type)
break;
}
- existing_ids = panel_dconf_list_subdirs (dir, TRUE);
+ existing_ids = mate_dconf_list_subdirs (dir, TRUE);
for (i = 0; !retval; i++) {
retval = g_strdup_printf ("%s_%d", prefix, i);
@@ -1440,18 +1440,18 @@ panel_profile_delete_dir (PanelGSettingsKeyType type,
if (type == PANEL_GSETTINGS_TOPLEVELS) {
gchar *subdir;
subdir = g_strdup_printf (PANEL_TOPLEVEL_PATH "%s/background/", id);
- panel_dconf_recursive_reset (subdir, NULL);
+ mate_dconf_recursive_reset (subdir, NULL);
g_free (subdir);
}
else if (type == PANEL_GSETTINGS_OBJECTS) {
gchar *subdir;
subdir = g_strdup_printf (PANEL_TOPLEVEL_PATH "%s/prefs/", id);
- panel_dconf_recursive_reset (subdir, NULL);
+ mate_dconf_recursive_reset (subdir, NULL);
g_free (subdir);
}
if (dir != NULL) {
- panel_dconf_recursive_reset (dir, NULL);
+ mate_dconf_recursive_reset (dir, NULL);
g_free (dir);
}
}