diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-01-02 17:42:52 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2019-01-02 10:39:11 -0800 |
commit | 28c4380eaac8d05b9cf93577bc0a118951713b7a (patch) | |
tree | 0bf7490fb920058989e33f344e5e038c51eed1fe | |
parent | 6fcffef3ffa1414154ed17320f209817ef14fcf8 (diff) | |
download | efl-28c4380eaac8d05b9cf93577bc0a118951713b7a.tar.gz |
ecore: Fix promise cb signature
After the loop_promise_new changes. Also fix unused var warning.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7531
-rw-r--r-- | src/lib/ecore/efl_exe.c | 2 | ||||
-rw-r--r-- | src/lib/ecore/efl_loop_consumer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/efl_exe.c b/src/lib/ecore/efl_exe.c index e870fcaf1f..391916365a 100644 --- a/src/lib/ecore/efl_exe.c +++ b/src/lib/ecore/efl_exe.c @@ -281,7 +281,7 @@ _cb_exe_in(void *data, const Efl_Event *event EINA_UNUSED) } static void -_run_cancel_cb(void *data, const Eina_Promise *dead_promise EINA_UNUSED) +_run_cancel_cb(void *data, Efl_Loop_Consumer *consumer EINA_UNUSED, const Eina_Promise *dead_promise EINA_UNUSED) { Eo *obj = data; Efl_Exe_Data *pd = efl_data_scope_get(obj, MY_CLASS); diff --git a/src/lib/ecore/efl_loop_consumer.c b/src/lib/ecore/efl_loop_consumer.c index 5cc86a3bb3..d31f4ff043 100644 --- a/src/lib/ecore/efl_loop_consumer.c +++ b/src/lib/ecore/efl_loop_consumer.c @@ -92,7 +92,7 @@ _cancel_free_cb_set(Eina_Promise *p, Eina_Free_Cb free_cb) } static Eina_Promise * -_efl_loop_consumer_promise_new(Eo *obj, Efl_Loop_Consumer_Data *pd, +_efl_loop_consumer_promise_new(Eo *obj, Efl_Loop_Consumer_Data *pd EINA_UNUSED, void *cancel_data, EflLoopConsumerPromiseCancel cancel, Eina_Free_Cb cancel_free_cb) { Efl_Loop_Consumer_Promise *lcp; |