summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-07 10:24:08 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-07 10:24:08 -0400
commit2c0ea5b5e3b9a1b8a00c2b940f3853d21f88e957 (patch)
tree60a12fcb50812dc4e6a393c0788bf74612757e0a /src/lib
parent84e06f7234335836d175cb1583aa91f183b98803 (diff)
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
Diffstat (limited to 'src/lib')
-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}