efl: fix function call order.
authorCedric BAIL <cedric@osg.samsung.com>
Thu, 20 Dec 2018 19:47:28 +0000 (11:47 -0800)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Thu, 27 Dec 2018 03:34:32 +0000 (12:34 +0900)
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7497

src/lib/efl/interfaces/efl_interfaces_main.c

index 65c3234..cf9a8ee 100644 (file)
@@ -130,7 +130,7 @@ _efl_ui_view_factory_item_created(Eo *factory, void *data EINA_UNUSED, const Ein
 EAPI Eina_Future *
 efl_ui_view_factory_create_with_event(Efl_Ui_Factory *factory, Efl_Model *model, Efl_Gfx_Entity *parent)
 {
-   return efl_future_then(efl_ui_factory_create(factory, model, parent), factory,
+   return efl_future_then(factory, efl_ui_factory_create(factory, model, parent),
                           .success_type = EINA_VALUE_TYPE_OBJECT,
                           .success = _efl_ui_view_factory_item_created);
 }