From f426641aacea9d5f7683be776536bc6301c7baef Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 6 Sep 2012 14:14:59 +0200 Subject: remove latest mateconf usage metadata saved in files instead of migrate to gsettings (caja-desktop-metadata.c is from nautilus) --- eel/eel-background.c | 6 ++---- eel/eel-background.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'eel') 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, -- cgit v1.2.1