bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e40f25b67ea1f68c890725f515f8d8ae2ef0b1fb
commit e40f25b67ea1f68c890725f515f8d8ae2ef0b1fb Author: Marcel Hollerbach <[email protected]> Date: Tue Mar 27 11:34:14 2018 +0200 efl_interface_scrollable: call constructor at first other calls could lead to a geometry_get call, which will crash if the constructor of the canvas_object is not called yet. --- src/lib/elementary/elm_interface_scrollable.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_interface_scrollable.c b/src/lib/elementary/elm_interface_scrollable.c index 32146b5118..3cb3e9c032 100644 --- a/src/lib/elementary/elm_interface_scrollable.c +++ b/src/lib/elementary/elm_interface_scrollable.c @@ -4679,13 +4679,14 @@ _elm_interface_scrollable_efl_ui_widget_focus_manager_create(Eo *obj EINA_UNUSED EOLIAN static Efl_Object* _elm_interface_scrollable_efl_object_constructor(Eo *obj, Elm_Scrollable_Smart_Interface_Data *pd EINA_UNUSED) { + Eo *o = efl_constructor(efl_super(obj, MY_SCROLLABLE_INTERFACE)); pd->manager = efl_ui_widget_focus_manager_create(obj, obj); efl_composite_attach(obj, pd->manager); _efl_ui_focus_manager_redirect_events_add(pd->manager, obj); - return efl_constructor(efl_super(obj, MY_SCROLLABLE_INTERFACE)); + return o; } static Eina_Bool --
