summaryrefslogtreecommitdiff
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
parent7d71bf55be14fb258ca1d15486d916dc1301dedd (diff)
ecore: fix build by having proper parameters order.
-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)
56 Ctx *ctx; 56 Ctx *ctx;
57 ctx = calloc(1, sizeof(Ctx)); 57 ctx = calloc(1, sizeof(Ctx));
58 EINA_SAFETY_ON_NULL_GOTO(ctx, err_ctx); 58 EINA_SAFETY_ON_NULL_GOTO(ctx, err_ctx);
59 ctx->p = efl_loop_promise_new(loop, _promise_cancel, ctx); 59 ctx->p = efl_loop_promise_new(loop, ctx, _promise_cancel, NULL);
60 EINA_SAFETY_ON_NULL_GOTO(ctx->p, err_timer); 60 EINA_SAFETY_ON_NULL_GOTO(ctx->p, err_timer);
61 ctx->value = v; 61 ctx->value = v;
62 return ctx; 62 return ctx;