summaryrefslogtreecommitdiff
path: root/src/examples/elementary
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2019-09-15 20:50:05 -0700
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-24 09:18:49 +0200
commit892c26f906d23595b709b834dde6b032bdd6d89d (patch)
treedd925c1a24c478f84094f19464c577191922052a /src/examples/elementary
parent759ac54e7f779456e01c194861a6d29465766275 (diff)
downloadefl-892c26f906d23595b709b834dde6b032bdd6d89d.tar.gz
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
Diffstat (limited to 'src/examples/elementary')
-rw-r--r--src/examples/elementary/layout_property_bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/layout_property_bind.c b/src/examples/elementary/layout_property_bind.c
index da4c5e6020..f9c5cf979e 100644
--- a/src/examples/elementary/layout_property_bind.c
+++ b/src/examples/elementary/layout_property_bind.c
@@ -169,7 +169,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
efl_ui_property_bind(img_factory, "", "path"); //connect to "path" property
efl_ui_factory_bind(priv->bt, "icon", img_factory);
- efl_future_then(win, efl_ui_view_factory_create_with_event(img_factory, NULL, bxr),
+ efl_future_then(win, efl_ui_view_factory_create_with_event(img_factory, NULL),
.success = _wait_for_image,
.data = priv);