summaryrefslogtreecommitdiff
path: root/src/lib/eldbus/eldbus_model_private.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-01-04 17:42:26 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-01-16 14:33:26 -0800
commit563f91eaf98fff474a4858f2d81c6374f0d777b9 (patch)
tree2e3a8abf52d835da7a74d1285ae45a17410cd763 /src/lib/eldbus/eldbus_model_private.h
parent40ca3fbe5813dfe0f2d0090f421c22a4cf2d8817 (diff)
ecore: remove data parameters of Efl.Loop_Consumer.promise_new to reduce the risk of inadvertently using the wrong data.
If you need data, use a efl_future_then as done in every case here to get the same feature. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D7577
Diffstat (limited to 'src/lib/eldbus/eldbus_model_private.h')
-rw-r--r--src/lib/eldbus/eldbus_model_private.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/eldbus/eldbus_model_private.h b/src/lib/eldbus/eldbus_model_private.h
index e58a25d..bfe6d5e 100644
--- a/src/lib/eldbus/eldbus_model_private.h
+++ b/src/lib/eldbus/eldbus_model_private.h
@@ -39,13 +39,6 @@ struct _Eldbus_Model_Data
39/* logging support */ 39/* logging support */
40extern int eldbus_model_log_dom; 40extern int eldbus_model_log_dom;
41 41
42static inline void
43_eldbus_eina_promise_cancel(void *data EINA_UNUSED,
44 Efl_Loop_Consumer *consumer EINA_UNUSED,
45 const Eina_Promise *dead_ptr EINA_UNUSED)
46{
47}
48
49#define ELDBUS_MODEL_ON_ERROR_EXIT_PROMISE_SET(exp, promise, err, v) \ 42#define ELDBUS_MODEL_ON_ERROR_EXIT_PROMISE_SET(exp, promise, err, v) \
50 do \ 43 do \
51 { \ 44 { \