summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-directory-background.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 22:18:47 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 22:18:47 +0200
commit2c7506960cf25b2e35347a95e0eabf9d6acbd8a1 (patch)
tree4cb631b1403752f0daeb333df14dfa50ddbf4a4a /libcaja-private/caja-directory-background.c
parentff794577433f03b7edc6d4ee164f753583882b8b (diff)
downloadcaja-2c7506960cf25b2e35347a95e0eabf9d6acbd8a1.tar.bz2
caja-2c7506960cf25b2e35347a95e0eabf9d6acbd8a1.tar.xz
removed eel_mateconf_monitor_add occurrence
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));