From 2c7506960cf25b2e35347a95e0eabf9d6acbd8a1 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 5 Sep 2012 22:18:47 +0200 Subject: removed eel_mateconf_monitor_add occurrence --- libcaja-private/caja-directory-background.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libcaja-private/caja-directory-background.c') diff --git a/libcaja-private/caja-directory-background.c b/libcaja-private/caja-directory-background.c index 59c35312..c5286b8c 100644 --- a/libcaja-private/caja-directory-background.c +++ b/libcaja-private/caja-directory-background.c @@ -369,8 +369,9 @@ caja_file_background_receive_mateconf_changes (EelBackground *background) { guint notification_id; - eel_mateconf_monitor_add ("/desktop/mate/background"); - notification_id = eel_mateconf_notification_add ("/desktop/mate/background", desktop_background_mateconf_notify_cb, background); + notification_id = mateconf_client_notify_add (caja_mateconf_client, + "/desktop/mate/background", desktop_background_mateconf_notify_cb, background, + NULL, NULL); g_object_set_data (G_OBJECT (background), "desktop_mateconf_notification", GUINT_TO_POINTER (notification_id)); -- cgit v1.2.1