summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-22 21:30:05 +0200
committerCedric BAIL <cedric.bail@free.fr>2019-04-23 12:40:49 -0700
commitf9143ec63457bedf08c2bbd237066374341e165b (patch)
tree7f28d4733d7b756e30c6db9e3b5798b43d99886e
parent22edf6f4b7fbea85cd0c7549338ec17d67326307 (diff)
efl_ui_popup: fix widget_parent inheritance
when you inherit from widget_parent, you MUST call the super function. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8680
-rw-r--r--src/lib/elementary/efl_ui_popup.c2
-rwxr-xr-xsrc/tests/elementary/spec/generator.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_popup.c b/src/lib/elementary/efl_ui_popup.c
index 47ef65b4a9..341de7e750 100644
--- a/src/lib/elementary/efl_ui_popup.c
+++ b/src/lib/elementary/efl_ui_popup.c
@@ -112,6 +112,8 @@ _efl_ui_popup_efl_ui_widget_widget_parent_set(Eo *obj, Efl_Ui_Popup_Data *pd EIN
112 112
113 efl_event_callback_add(pd->win_parent, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED, _parent_geom_cb, obj); 113 efl_event_callback_add(pd->win_parent, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED, _parent_geom_cb, obj);
114 efl_event_callback_add(pd->win_parent, EFL_GFX_ENTITY_EVENT_POSITION_CHANGED, _parent_geom_cb, obj); 114 efl_event_callback_add(pd->win_parent, EFL_GFX_ENTITY_EVENT_POSITION_CHANGED, _parent_geom_cb, obj);
115
116 efl_ui_widget_parent_set(efl_super(obj, MY_CLASS), parent);
115} 117}
116 118
117EOLIAN static void 119EOLIAN static void
diff --git a/src/tests/elementary/spec/generator.py b/src/tests/elementary/spec/generator.py
index 1c61efac6a..72af7017fa 100755
--- a/src/tests/elementary/spec/generator.py
+++ b/src/tests/elementary/spec/generator.py
@@ -6,7 +6,7 @@ tests = [
6 ["Efl.Content" , "Efl.Ui.Button", "Efl.Ui.Frame", "Efl.Ui.Grid_Default_Item", 6 ["Efl.Content" , "Efl.Ui.Button", "Efl.Ui.Frame", "Efl.Ui.Grid_Default_Item",
7 "Efl.Ui.List_Default_Item", "Efl.Ui.List_Empty_Item", 7 "Efl.Ui.List_Default_Item", "Efl.Ui.List_Empty_Item",
8 "Efl.Ui.Navigation_Layout", "Efl.Ui.Panel", "Efl.Ui.Progressbar", 8 "Efl.Ui.Navigation_Layout", "Efl.Ui.Panel", "Efl.Ui.Progressbar",
9 "Efl.Ui.Radio"] 9 "Efl.Ui.Radio", "Efl.Ui.Popup"]
10] 10]
11 11
12fixture_gen_template = """ 12fixture_gen_template = """