summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-canvas-item.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 14:44:07 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 14:44:07 +0200
commitb10e30db918ff889bb06540e129b3f31b2815da2 (patch)
treed98d7640c4275e4d6496f54926b580e59b9253b7 /libcaja-private/caja-icon-canvas-item.c
parentf82a305cde0842e53d7468ce37b4cd02161838c5 (diff)
downloadcaja-b10e30db918ff889bb06540e129b3f31b2815da2.tar.bz2
caja-b10e30db918ff889bb06540e129b3f31b2815da2.tar.xz
convert click-policy to gsettings
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;
}