diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-09-10 09:21:56 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-09-10 09:21:56 -0400 |
commit | 5bae833123b249f6452ace5d748bf3da9a65e751 (patch) | |
tree | d918d7b2636733190db17ba5c765258f11cc031f | |
parent | 37a63fb1ee30e453d7eb1b513be31c9f736f3bf9 (diff) |
efl_ui_suite: resolve focus errors
Summary:
unregsiter shound never call unprotected eo API on the object,
unregister can be called with a object that is dead.
Reviewers: zmike
Reviewed By: zmike
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9898
-rw-r--r-- | src/tests/elementary/efl_ui_test_focus_sub.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tests/elementary/efl_ui_test_focus_sub.c b/src/tests/elementary/efl_ui_test_focus_sub.c index b026307e3a..1e4c2e5d8d 100644 --- a/src/tests/elementary/efl_ui_test_focus_sub.c +++ b/src/tests/elementary/efl_ui_test_focus_sub.c | |||
@@ -46,7 +46,6 @@ static void | |||
46 | _unregister(Eo *eo, void* data EINA_UNUSED, Efl_Ui_Focus_Object *child) | 46 | _unregister(Eo *eo, void* data EINA_UNUSED, Efl_Ui_Focus_Object *child) |
47 | { | 47 | { |
48 | unregistered = eina_list_append(unregistered, child); | 48 | unregistered = eina_list_append(unregistered, child); |
49 | printf("UNREGISTERED %p %s\n", child, efl_name_get(child)); | ||
50 | 49 | ||
51 | efl_ui_focus_manager_calc_unregister(efl_super(eo, EFL_OBJECT_OVERRIDE_CLASS) , child); | 50 | efl_ui_focus_manager_calc_unregister(efl_super(eo, EFL_OBJECT_OVERRIDE_CLASS) , child); |
52 | } | 51 | } |