efl: simplify logic for widget created by factory.
authorCedric Bail <cedric.bail@free.fr>
Mon, 16 Sep 2019 03:50:05 +0000 (20:50 -0700)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 24 Sep 2019 21:47:13 +0000 (06:47 +0900)
commit744434afd458746b680c6d20c711ce363353e176
treeb88d4907c7b9afe4e6112872c376570eb28327ef
parent124c90bf13dc8c555d47ae9eee419a2980f67f8a
efl: simplify logic for widget created by factory.

In an attempt to make things more complex than they should have been,
I tried to change the inheritance tree on the fly and assume widget would
rely on autodeleting its children. This is way more complex of a solution
than to let the View actually release all the child manually and just set
the window as the default parent.h

Co-authored-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9953
12 files changed:
src/examples/elementary/layout_property_bind.c
src/lib/efl/interfaces/efl_interfaces_main.c
src/lib/efl/interfaces/efl_ui_factory.eo
src/lib/efl/interfaces/efl_ui_view_factory.eo
src/lib/elementary/efl_ui_caching_factory.c
src/lib/elementary/efl_ui_caching_factory.eo
src/lib/elementary/efl_ui_image_factory.c
src/lib/elementary/efl_ui_layout.c
src/lib/elementary/efl_ui_list_view.c
src/lib/elementary/efl_ui_widget_factory.c
src/lib/elementary/efl_ui_widget_factory.eo
src/lib/elementary/elm_priv.h