summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorSanjeev BA <iamsanjeev@gmail.com>2012-03-23 05:36:11 +0000
committerSanjeev BA <iamsanjeev@gmail.com>2012-03-23 05:36:11 +0000
commitf1c642d3d065c6cc8e2e0cc36769ca3a80cfafb7 (patch)
tree22eefd652a3971d5a365201f4a502ca30d5399d7 /legacy
parenta40e45f37cec0cdb358105b6c42f275e0a81d2e5 (diff)
Callback parameter should be Widget_Data, not Evas_Object.
Author : Bluezery <ohpowel@gmail.com> SVN revision: 69577
Diffstat (limited to 'legacy')
-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;