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:
parent
37a63fb1ee
commit
5bae833123
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue