eldbus: simplify code by using proper helper.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 23 Nov 2018 00:45:03 +0000 (16:45 -0800)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:52:40 +0000 (14:52 +0900)
commit0717b3003a92ddfa16b68c3a59bafe1ede9d40f6
tree9b5f63fb823853ead765a5cc309aaadfe80761f8
parentca02f5c368209bf27af7d4f590c9c98647382015
eldbus: simplify code by using proper helper.

efl_loop_promise_new is a helper function that does automatically figure out an
available scheduler and create a promise from it. Basically replacing the call to
eina_promise_new(efl_loop_future_scheduler_get(o), ...).

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7335
src/lib/eldbus/eldbus_model_connection.c
src/lib/eldbus/eldbus_model_object.c
src/lib/eldbus/eldbus_model_proxy.c