aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2019-01-02 15:04:50 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-01-02 15:05:58 +0900
commitabad5cb5c877a04bebbe6ed6e2fb06c7f45ce0b1 (patch)
treeb9d6ab3d9c1ab006497830d6a13de88df1bf3950 /src/examples
parentevas vg: fix typo. (diff)
downloadefl-abad5cb5c877a04bebbe6ed6e2fb06c7f45ce0b1.tar.gz
ecore: fix build by having proper parameters order.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore/ecore_promise2_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/ecore/ecore_promise2_example.c b/src/examples/ecore/ecore_promise2_example.c
index f99ef7815c..d10acf0450 100644
--- a/src/examples/ecore/ecore_promise2_example.c
+++ b/src/examples/ecore/ecore_promise2_example.c
@@ -56,7 +56,7 @@ _promise_ctx_new(Efl_Loop *loop, Eina_Value *v)
Ctx *ctx;
ctx = calloc(1, sizeof(Ctx));
EINA_SAFETY_ON_NULL_GOTO(ctx, err_ctx);
- ctx->p = efl_loop_promise_new(loop, _promise_cancel, ctx);
+ ctx->p = efl_loop_promise_new(loop, ctx, _promise_cancel, NULL);
EINA_SAFETY_ON_NULL_GOTO(ctx->p, err_timer);
ctx->value = v;
return ctx;