aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-08-21 10:11:10 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-21 14:20:33 +0200
commitbb62f71fe21763a2a76e0e23f83659e1c8017571 (patch)
treec75d6e1999ec7ec0d0c349cba334ee02f8179c47 /src
parentefl_ui_slider : remove all the legacy checking (diff)
downloadefl-master.tar.gz
efl_ui_widget: ensure that tree_unfocusable is binary number in its getterHEADmaster
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 <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9673
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_widget.c2
1 files changed, 1 insertions, 1 deletions
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;
}
/**