efl: fix function call order.

Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7497
This commit is contained in:
Cedric BAIL 2018-12-20 11:47:28 -08:00 committed by Marcel Hollerbach
parent e43f090265
commit 1305f28bc1
1 changed files with 1 additions and 1 deletions

View 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);
}