summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-desktop-link-monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-desktop-link-monitor.c')
-rw-r--r--libcaja-private/caja-desktop-link-monitor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcaja-private/caja-desktop-link-monitor.c b/libcaja-private/caja-desktop-link-monitor.c
index f2d1c8b5..5a959d20 100644
--- a/libcaja-private/caja-desktop-link-monitor.c
+++ b/libcaja-private/caja-desktop-link-monitor.c
@@ -493,9 +493,9 @@ caja_desktop_link_monitor_init (gpointer object, gpointer klass)
}
static void
-remove_link_and_preference (CajaDesktopLink **link_ref,
+remove_link_and_preference (CajaDesktopLink **link_ref,
const char *preference_key,
- EelPreferencesCallback callback,
+ GCallback callback,
gpointer callback_data)
{
if (*link_ref != NULL)
@@ -521,22 +521,22 @@ desktop_link_monitor_finalize (GObject *object)
remove_link_and_preference (&monitor->details->home_link,
CAJA_PREFERENCES_DESKTOP_HOME_VISIBLE,
- desktop_home_visible_changed,
+ G_CALLBACK (desktop_home_visible_changed),
monitor);
remove_link_and_preference (&monitor->details->computer_link,
CAJA_PREFERENCES_DESKTOP_COMPUTER_VISIBLE,
- desktop_computer_visible_changed,
+ G_CALLBACK (desktop_computer_visible_changed),
monitor);
remove_link_and_preference (&monitor->details->trash_link,
CAJA_PREFERENCES_DESKTOP_TRASH_VISIBLE,
- desktop_trash_visible_changed,
+ G_CALLBACK (desktop_trash_visible_changed),
monitor);
remove_link_and_preference (&monitor->details->network_link,
CAJA_PREFERENCES_DESKTOP_NETWORK_VISIBLE,
- desktop_network_visible_changed,
+ G_CALLBACK (desktop_network_visible_changed),
monitor);
/* Mounts */