summaryrefslogtreecommitdiff
path: root/legacy/elementary
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary')
-rw-r--r--legacy/elementary/src/lib/elm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_map.c b/legacy/elementary/src/lib/elm_map.c
index 84cb38451d..95ee7a0816 100644
--- a/legacy/elementary/src/lib/elm_map.c
+++ b/legacy/elementary/src/lib/elm_map.c
@@ -4284,9 +4284,9 @@ elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled)
4284 EINA_SAFETY_ON_NULL_RETURN(wd); 4284 EINA_SAFETY_ON_NULL_RETURN(wd);
4285 4285
4286 if ((!wd->wheel_disabled) && (disabled)) 4286 if ((!wd->wheel_disabled) && (disabled))
4287 evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, obj); 4287 evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, wd);
4288 else if ((wd->wheel_disabled) && (!disabled)) 4288 else if ((wd->wheel_disabled) && (!disabled))
4289 evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, obj); 4289 evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, wd);
4290 wd->wheel_disabled = !!disabled; 4290 wd->wheel_disabled = !!disabled;
4291#else 4291#else
4292 (void) obj; 4292 (void) obj;