bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e614c96466da7841729855948ffe04cd70150513

commit e614c96466da7841729855948ffe04cd70150513
Author: Marcel Hollerbach <[email protected]>
Date:   Fri Nov 18 13:28:11 2016 +0100

    elm_widget: make sure we dont have a destructed logical parent
---
 src/lib/elementary/elm_widget.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 62c0f70..6879b7a 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -256,6 +256,7 @@ _focus_state_eval(Eo *obj, Elm_Widget_Smart_Data *pd)
                   logical_wd->logical.child_count ++;
                   _focus_state_eval(parent, logical_wd);
                   pd->logical.parent = parent;
+                  efl_weak_ref(&pd->logical.parent);
                }
           }
      }

-- 


Reply via email to