summaryrefslogtreecommitdiff
path: root/libmate-desktop/libmateui/mate-bg.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-03 19:30:53 +0100
committerStefano Karapetsas <[email protected]>2012-11-03 19:30:53 +0100
commitcc3914d206b705628f155b35f8c2530df540cad1 (patch)
treef7ff4d1a936f43d7b5d8bc1fe623a358b2558c49 /libmate-desktop/libmateui/mate-bg.h
parentbbcb0fa4e357fa2a1f30ca74a0e68f6b053a014e (diff)
downloadmate-desktop-cc3914d206b705628f155b35f8c2530df540cad1.tar.bz2
mate-desktop-cc3914d206b705628f155b35f8c2530df540cad1.tar.xz
add function to load system settings instead of the user settings
this is needed in mate-screensaver
Diffstat (limited to 'libmate-desktop/libmateui/mate-bg.h')
-rw-r--r--libmate-desktop/libmateui/mate-bg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmate-desktop/libmateui/mate-bg.h b/libmate-desktop/libmateui/mate-bg.h
index 279842c..45b3615 100644
--- a/libmate-desktop/libmateui/mate-bg.h
+++ b/libmate-desktop/libmateui/mate-bg.h
@@ -66,8 +66,11 @@ typedef enum {
} MateBGPlacement;
GType mate_bg_get_type (void);
-MateBG * mate_bg_new (void);
+MateBG * mate_bg_new (void);
void mate_bg_load_from_preferences (MateBG *bg);
+void mate_bg_load_from_system_preferences (MateBG *bg);
+void mate_bg_load_from_gsettings (MateBG *bg,
+ GSettings *settings);
void mate_bg_save_to_preferences (MateBG *bg);
/* Setters */
void mate_bg_set_filename (MateBG *bg,