cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=869d7b05f110fc6ce9f209a9658f718392bb953e

commit 869d7b05f110fc6ce9f209a9658f718392bb953e
Author: Cedric BAIL <cedric.b...@free.fr>
Date:   Mon Aug 19 15:06:03 2019 -0700

    elementary: use the right function for creating object from Efl.Ui.Factory.
    
    Reviewed-by: Lauro Neto <Lauro Moura <lauromo...@expertisesolutions.com.br>>
    Differential Revision: https://phab.enlightenment.org/D9635
---
 src/examples/elementary/layout_property_bind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/examples/elementary/layout_property_bind.c 
b/src/examples/elementary/layout_property_bind.c
index d55d94781a..da4c5e6020 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_factory_create(img_factory, NULL, bxr),
+   efl_future_then(win, efl_ui_view_factory_create_with_event(img_factory, 
NULL, bxr),
                    .success = _wait_for_image,
                    .data = priv);
 

-- 


Reply via email to