summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-07 15:55:47 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-07 15:57:08 +0200
commit8a8bdd406ae2a05e603152d79d9d583bab905682 (patch)
tree4936fc743e61d455dc7d5e333bf22dc4dbb34060
parentf47fdfc072decc8477c6afa8dcabd78f5082f06f (diff)
efl_ui_focus_layer: we should cleanup on invalidate
otherwise there will be errors. Lets pray this did not break anything else. Differential Revision: https://phab.enlightenment.org/D9521
-rw-r--r--src/lib/elementary/efl_ui_focus_layer.c4
-rw-r--r--src/lib/elementary/efl_ui_focus_layer.eo2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_focus_layer.c b/src/lib/elementary/efl_ui_focus_layer.c
index 6c6c8218c1..ccbe1d31e8 100644
--- a/src/lib/elementary/efl_ui_focus_layer.c
+++ b/src/lib/elementary/efl_ui_focus_layer.c
@@ -55,10 +55,10 @@ _efl_ui_focus_layer_efl_ui_focus_manager_move(Eo *obj, Efl_Ui_Focus_Layer_Data *
55} 55}
56 56
57EOLIAN static void 57EOLIAN static void
58_efl_ui_focus_layer_efl_object_destructor(Eo *obj, Efl_Ui_Focus_Layer_Data *pd EINA_UNUSED) 58_efl_ui_focus_layer_efl_object_invalidate(Eo *obj, Efl_Ui_Focus_Layer_Data *pd EINA_UNUSED)
59{ 59{
60 efl_ui_focus_layer_enable_set(obj, EINA_FALSE); 60 efl_ui_focus_layer_enable_set(obj, EINA_FALSE);
61 efl_destructor(efl_super(obj, MY_CLASS)); 61 efl_invalidate(efl_super(obj, MY_CLASS));
62} 62}
63 63
64EOLIAN static Efl_Ui_Focus_Manager* 64EOLIAN static Efl_Ui_Focus_Manager*
diff --git a/src/lib/elementary/efl_ui_focus_layer.eo b/src/lib/elementary/efl_ui_focus_layer.eo
index fd177caf62..4773de3201 100644
--- a/src/lib/elementary/efl_ui_focus_layer.eo
+++ b/src/lib/elementary/efl_ui_focus_layer.eo
@@ -28,6 +28,6 @@ mixin @beta Efl.Ui.Focus.Layer requires Efl.Ui.Widget extends Efl.Ui.Widget_Focu
28 Efl.Ui.Focus.Object.focus_manager { get; } 28 Efl.Ui.Focus.Object.focus_manager { get; }
29 Efl.Ui.Focus.Object.focus_parent { get; } 29 Efl.Ui.Focus.Object.focus_parent { get; }
30 Efl.Object.constructor; 30 Efl.Object.constructor;
31 Efl.Object.destructor; 31 Efl.Object.invalidate;
32 } 32 }
33} 33}