ecore: fix build by having proper parameters order.

This commit is contained in:
Jaehyun Cho 2019-01-02 15:04:50 +09:00
parent 7d71bf55be
commit abad5cb5c8
1 changed files with 1 additions and 1 deletions

View File

@ -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;