summaryrefslogtreecommitdiff
path: root/libmate-desktop/libmateui
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-03 15:46:10 +0200
committerStefano Karapetsas <[email protected]>2012-09-03 15:46:10 +0200
commit060faa2203f81c7fd1ce719d4a5dcaff7813dadf (patch)
tree9efe3501ce41cb0699d853a98ccaf2ca6cdff6d1 /libmate-desktop/libmateui
parentf2ce79172dea2db12a1d85f441990e8b56cae225 (diff)
downloadmate-desktop-060faa2203f81c7fd1ce719d4a5dcaff7813dadf.tar.bz2
mate-desktop-060faa2203f81c7fd1ce719d4a5dcaff7813dadf.tar.xz
migrate to gsettings
Diffstat (limited to 'libmate-desktop/libmateui')
-rw-r--r--libmate-desktop/libmateui/mate-bg.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libmate-desktop/libmateui/mate-bg.h b/libmate-desktop/libmateui/mate-bg.h
index 42b0997..6b7539e 100644
--- a/libmate-desktop/libmateui/mate-bg.h
+++ b/libmate-desktop/libmateui/mate-bg.h
@@ -30,7 +30,7 @@
#endif
#include <gdk/gdk.h>
-#include <mateconf/mateconf-client.h>
+#include <gio/gio.h>
#include <libmateui/mate-desktop-thumbnail.h>
#include <libmateui/mate-bg-crossfade.h>
@@ -45,7 +45,7 @@ extern "C" {
#define MATE_IS_BG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MATE_TYPE_BG))
#define MATE_BG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MATE_TYPE_BG, MateBGClass))
-#define MATE_BG_KEY_DIR "/desktop/mate/background"
+#define MATE_BG_SCHEMA "org.mate.background"
typedef struct _MateBG MateBG;
typedef struct _MateBGClass MateBGClass;
@@ -67,10 +67,8 @@ typedef enum {
GType mate_bg_get_type (void);
MateBG * mate_bg_new (void);
-void mate_bg_load_from_preferences (MateBG *bg,
- MateConfClient *client);
-void mate_bg_save_to_preferences (MateBG *bg,
- MateConfClient *client);
+void mate_bg_load_from_preferences (MateBG *bg);
+void mate_bg_save_to_preferences (MateBG *bg);
/* Setters */
void mate_bg_set_filename (MateBG *bg,
const char *filename);