zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=710ecf5c630ad534e42534ba88e1b15743c3d267

commit 710ecf5c630ad534e42534ba88e1b15743c3d267
Author: Marcel Hollerbach <[email protected]>
Date:   Mon Apr 22 21:30:05 2019 +0200

    efl_ui_popup: fix widget_parent inheritance
    
    when you inherit from widget_parent, you MUST call the super function.
    
    Reviewed-by: Cedric BAIL <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D8680
---
 src/lib/elementary/efl_ui_popup.c | 2 ++
 1 file changed, 2 insertions(+)

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
 
    efl_event_callback_add(pd->win_parent, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED, 
_parent_geom_cb, obj);
    efl_event_callback_add(pd->win_parent, 
EFL_GFX_ENTITY_EVENT_POSITION_CHANGED, _parent_geom_cb, obj);
+
+   efl_ui_widget_parent_set(efl_super(obj, MY_CLASS), parent);
 }
 
 EOLIAN static void

-- 


Reply via email to