bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=bb62f71fe21763a2a76e0e23f83659e1c8017571
commit bb62f71fe21763a2a76e0e23f83659e1c8017571 Author: Yeongjong Lee <[email protected]> Date: Wed Aug 21 10:11:10 2019 +0000 efl_ui_widget: ensure that tree_unfocusable is binary number in its getter since 2dd596084b3906cf85eeab5b010913839aa252e2, tree_unfocusable is changed from Eina_Bool to int. Double negation ensure binary return value of `elm_widget_tree_unfocusable_get` Reviewed-by: Marcel Hollerbach <[email protected]> Differential Revision: https://phab.enlightenment.org/D9673 --- src/lib/elementary/efl_ui_widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c index 684c506e7c..fa6ba5a3ed 100644 --- a/src/lib/elementary/efl_ui_widget.c +++ b/src/lib/elementary/efl_ui_widget.c @@ -1776,7 +1776,7 @@ elm_widget_tree_unfocusable_get(const Eo *obj) Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS); if (!sd) return EINA_FALSE; - return sd->tree_unfocusable; + return !!sd->tree_unfocusable; } /** --
