From 3eb5bf040a7538982c80918c798db8edbed9d052 Mon Sep 17 00:00:00 2001 From: sanjeev Date: Fri, 23 Mar 2012 05:36:11 +0000 Subject: [PATCH] Callback parameter should be Widget_Data, not Evas_Object. Author : Bluezery git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69577 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index 84cb384..95ee7a0 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -4284,9 +4284,9 @@ elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_SAFETY_ON_NULL_RETURN(wd); if ((!wd->wheel_disabled) && (disabled)) - evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, obj); + evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, wd); else if ((wd->wheel_disabled) && (!disabled)) - evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, obj); + evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, wd); wd->wheel_disabled = !!disabled; #else (void) obj; -- 2.7.4