cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8872e4845802633a39faaeed3d9af7d94b8cb96e

commit 8872e4845802633a39faaeed3d9af7d94b8cb96e
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 48309a5102..11f64a7352 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);

-- 


Reply via email to