forked from enlightenment/efl
efl_ui_focus_layer: we should cleanup on invalidate
Summary: otherwise there will be errors. Lets pray this did not break anything else. Depends on D9518 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9521
This commit is contained in:
parent
84e06f7234
commit
2c0ea5b5e3
|
@ -55,10 +55,10 @@ _efl_ui_focus_layer_efl_ui_focus_manager_move(Eo *obj, Efl_Ui_Focus_Layer_Data *
|
|||
}
|
||||
|
||||
EOLIAN static void
|
||||
_efl_ui_focus_layer_efl_object_destructor(Eo *obj, Efl_Ui_Focus_Layer_Data *pd EINA_UNUSED)
|
||||
_efl_ui_focus_layer_efl_object_invalidate(Eo *obj, Efl_Ui_Focus_Layer_Data *pd EINA_UNUSED)
|
||||
{
|
||||
efl_ui_focus_layer_enable_set(obj, EINA_FALSE);
|
||||
efl_destructor(efl_super(obj, MY_CLASS));
|
||||
efl_invalidate(efl_super(obj, MY_CLASS));
|
||||
}
|
||||
|
||||
EOLIAN static Efl_Ui_Focus_Manager*
|
||||
|
|
|
@ -28,6 +28,6 @@ mixin @beta Efl.Ui.Focus.Layer requires Efl.Ui.Widget extends Efl.Ui.Widget_Focu
|
|||
Efl.Ui.Focus.Object.focus_manager { get; }
|
||||
Efl.Ui.Focus.Object.focus_parent { get; }
|
||||
Efl.Object.constructor;
|
||||
Efl.Object.destructor;
|
||||
Efl.Object.invalidate;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue