Elementary map: Use !! to Eina_Bool substitution in EAPIs.
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 28 Apr 2011 15:12:28 +0000 (15:12 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 28 Apr 2011 15:12:28 +0000 (15:12 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@59008 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_map.c

index 44cf3c9..bc121e3 100644 (file)
@@ -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;
 }
 
 /**