From 71efffeea0eaef6f46c8ece8d57b6322abfb5c8d Mon Sep 17 00:00:00 2001 From: seoz Date: Thu, 28 Apr 2011 15:12:28 +0000 Subject: [PATCH] Elementary map: Use !! to Eina_Bool substitution in EAPIs. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@59008 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index 44cf3c9..bc121e3 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -4968,7 +4968,7 @@ elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) evas_object_event_callback_del_full(wd->rect, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, obj); else if ((wd->wheel_disabled) && (!disabled)) evas_object_event_callback_add(wd->rect, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, obj); - wd->wheel_disabled = disabled; + wd->wheel_disabled = !!disabled; } /** -- 2.7.4