vitorsousa pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d418e98237a3850df46c3ae0b2f175e0cca0b0b5
commit d418e98237a3850df46c3ae0b2f175e0cca0b0b5 Author: Larry Jr <larry....@gmail.com> Date: Tue May 3 16:15:07 2016 -0300 Eldbus: fixed eina_promise callback in eldbus test model --- src/tests/eldbus/eldbus_test_eldbus_model.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/tests/eldbus/eldbus_test_eldbus_model.c b/src/tests/eldbus/eldbus_test_eldbus_model.c index 1f4ef6a..dcd9fe4 100644 --- a/src/tests/eldbus/eldbus_test_eldbus_model.c +++ b/src/tests/eldbus/eldbus_test_eldbus_model.c @@ -22,6 +22,13 @@ _promise_then_quit_cb(void **data , void **value ) } static void +_promise_then_quit_u_cb(unsigned *data , unsigned *value) +{ + *data = *value; + ecore_main_loop_quit(); +} + +static void _promise_then_cp(Eina_Value *data , void *value) { eina_value_copy(value, data); @@ -82,7 +89,7 @@ int efl_model_promise_then_u(Eina_Promise *promise) { unsigned i = 0; - eina_promise_then(promise, (Eina_Promise_Cb)&_promise_then_quit_cb, &_error_then_cb, &i); + eina_promise_then(promise, (Eina_Promise_Cb)&_promise_then_quit_u_cb, &_error_then_cb, &i); ecore_main_loop_begin(); return i; } --