summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-canvas-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-icon-canvas-item.c')
-rw-r--r--libcaja-private/caja-icon-canvas-item.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c
index c96cd6ef..db0b5280 100644
--- a/libcaja-private/caja-icon-canvas-item.c
+++ b/libcaja-private/caja-icon-canvas-item.c
@@ -283,9 +283,10 @@ caja_icon_canvas_item_init (CajaIconCanvasItem *icon_item)
if (!setup_auto_enums)
{
- eel_preferences_add_auto_enum
- (CAJA_PREFERENCES_CLICK_POLICY,
- &click_policy_auto_value);
+ eel_g_settings_add_auto_enum
+ (caja_preferences,
+ CAJA_PREFERENCES_CLICK_POLICY,
+ &click_policy_auto_value);
setup_auto_enums = TRUE;
}