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
This commit is contained in:
Marcel Hollerbach 2019-09-10 09:21:56 -04:00 committed by Mike Blumenkrantz
parent 37a63fb1ee
commit 5bae833123
1 changed files with 0 additions and 1 deletions

View File

@ -46,7 +46,6 @@ static void
_unregister(Eo *eo, void* data EINA_UNUSED, Efl_Ui_Focus_Object *child)
{
unregistered = eina_list_append(unregistered, child);
printf("UNREGISTERED %p %s\n", child, efl_name_get(child));
efl_ui_focus_manager_calc_unregister(efl_super(eo, EFL_OBJECT_OVERRIDE_CLASS) , child);
}