zmike pushed a commit to branch efl-1.22. http://git.enlightenment.org/core/efl.git/commit/?id=50f939820250d23dd1cb596d9c75ac6a8f2f6e92
commit 50f939820250d23dd1cb596d9c75ac6a8f2f6e92 Author: Cedric BAIL <cedric.b...@free.fr> Date: Thu Apr 18 09:35:48 2019 -0700 ecore: fix efl_model_property_ready_get to actually return the right future when the data is not ready. Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8658 --- src/lib/ecore/efl_loop_model.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore/efl_loop_model.c b/src/lib/ecore/efl_loop_model.c index 0f212f1283..5d1b2ba0ed 100644 --- a/src/lib/ecore/efl_loop_model.c +++ b/src/lib/ecore/efl_loop_model.c @@ -97,6 +97,7 @@ _efl_loop_model_efl_model_property_ready_get(Eo *obj, void *pd EINA_UNUSED, cons efl_event_callback_add(obj, EFL_MODEL_EVENT_PROPERTIES_CHANGED, _propagate_future, wd); + return efl_future_then(obj, eina_future_new(wd->p)); } return eina_future_rejected(efl_loop_future_scheduler_get(obj), err); --