summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-06 14:14:59 +0200
committerStefano Karapetsas <[email protected]>2012-09-06 14:14:59 +0200
commitf426641aacea9d5f7683be776536bc6301c7baef (patch)
treed19911212091bfcadf2a976d219aca093ef0606f /eel
parent465e6ae56a2a81cd346d573532dc4a39c16df225 (diff)
downloadcaja-f426641aacea9d5f7683be776536bc6301c7baef.tar.bz2
caja-f426641aacea9d5f7683be776536bc6301c7baef.tar.xz
remove latest mateconf usage
metadata saved in files instead of migrate to gsettings (caja-desktop-metadata.c is from nautilus)
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-background.c6
-rw-r--r--eel/eel-background.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/eel/eel-background.c b/eel/eel-background.c
index f43831e0..33803f58 100644
--- a/eel/eel-background.c
+++ b/eel/eel-background.c
@@ -1230,12 +1230,10 @@ eel_background_receive_dropped_color (EelBackground *background,
}
void
-eel_background_save_to_mateconf (EelBackground *background)
+eel_background_save_to_settings (EelBackground *background)
{
- MateConfClient *client = mateconf_client_get_default ();
-
if (background->details->bg)
- mate_bg_save_to_preferences (background->details->bg, client);
+ mate_bg_save_to_preferences (background->details->bg);
}
void
diff --git a/eel/eel-background.h b/eel/eel-background.h
index 3e299a30..1604b537 100644
--- a/eel/eel-background.h
+++ b/eel/eel-background.h
@@ -118,7 +118,7 @@ void eel_background_receive_dropped_background_image (Eel
/* Gets or creates a background so that it's attached to a widget. */
EelBackground * eel_get_widget_background (GtkWidget *widget);
-void eel_background_save_to_mateconf (EelBackground *background);
+void eel_background_save_to_settings (EelBackground *background);
/* Set activity status of background. Inactive backgrounds are drawn in the theme's INSENSITIVE color. */
void eel_background_set_active (EelBackground *background,