hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=7d77c0572dfcee970079eda515ae1ac4075c4f58

commit 7d77c0572dfcee970079eda515ae1ac4075c4f58
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Sat Feb 13 01:43:56 2016 +0900

    widget: don't access a widget focus if the object is not a widget.
---
 src/lib/elm_widget.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index efcbc88..fd00284 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -413,6 +413,7 @@ _if_focused_revert(Evas_Object *obj,
                             Evas_Object *child;
                             EINA_LIST_FOREACH(sd2->subobjs, l, child)
                               {
+                                 if (!_elm_widget_is(child)) continue;
                                  if (elm_widget_focus_get(child))
                                    {
                                       elm_widget_focused_object_clear(child);

-- 


Reply via email to