summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory-background.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-directory-background.c')
-rw-r--r--libcaja-private/caja-directory-background.c5
1 files changed, 3 insertions, 2 deletions
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));