summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-04-18 09:35:48 -0700
committerCedric BAIL <cedric.bail@free.fr>2019-04-26 11:32:48 -0700
commit8872e4845802633a39faaeed3d9af7d94b8cb96e (patch)
treef1e067ef29890f6f106a6b49ff2c23c119f22af0 /src/lib/ecore
parentfcd5eb755b7c97ae157ab860f284a9716d549555 (diff)
ecore: fix efl_model_property_ready_get to actually return the right future when the data is not ready.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8658
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/efl_loop_model.c1
1 files changed, 1 insertions, 0 deletions
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
97 efl_event_callback_add(obj, 97 efl_event_callback_add(obj,
98 EFL_MODEL_EVENT_PROPERTIES_CHANGED, 98 EFL_MODEL_EVENT_PROPERTIES_CHANGED,
99 _propagate_future, wd); 99 _propagate_future, wd);
100 return efl_future_then(obj, eina_future_new(wd->p));
100 } 101 }
101 102
102 return eina_future_rejected(efl_loop_future_scheduler_get(obj), err); 103 return eina_future_rejected(efl_loop_future_scheduler_get(obj), err);