summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-01-02 17:42:52 +0000
committerCedric BAIL <cedric.bail@free.fr>2019-01-02 10:39:11 -0800
commit28c4380eaac8d05b9cf93577bc0a118951713b7a (patch)
tree0bf7490fb920058989e33f344e5e038c51eed1fe
parent6fcffef3ffa1414154ed17320f209817ef14fcf8 (diff)
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.c2
-rw-r--r--src/lib/ecore/efl_loop_consumer.c2
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)
281} 281}
282 282
283static void 283static void
284_run_cancel_cb(void *data, const Eina_Promise *dead_promise EINA_UNUSED) 284_run_cancel_cb(void *data, Efl_Loop_Consumer *consumer EINA_UNUSED, const Eina_Promise *dead_promise EINA_UNUSED)
285{ 285{
286 Eo *obj = data; 286 Eo *obj = data;
287 Efl_Exe_Data *pd = efl_data_scope_get(obj, MY_CLASS); 287 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)
92} 92}
93 93
94static Eina_Promise * 94static Eina_Promise *
95_efl_loop_consumer_promise_new(Eo *obj, Efl_Loop_Consumer_Data *pd, 95_efl_loop_consumer_promise_new(Eo *obj, Efl_Loop_Consumer_Data *pd EINA_UNUSED,
96 void *cancel_data, EflLoopConsumerPromiseCancel cancel, Eina_Free_Cb cancel_free_cb) 96 void *cancel_data, EflLoopConsumerPromiseCancel cancel, Eina_Free_Cb cancel_free_cb)
97{ 97{
98 Efl_Loop_Consumer_Promise *lcp; 98 Efl_Loop_Consumer_Promise *lcp;