diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2018-01-11 11:21:00 -0800 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2018-01-12 09:37:47 -0800 |
commit | f5a5609c277504692590117228474ddd657606ac (patch) | |
tree | d04c71ae91145ec0eef94bd7b6094c7bbd152d53 | |
parent | c6436337a466572b5d811234aca445f3e46650a8 (diff) | |
download | efl-f5a5609c277504692590117228474ddd657606ac.tar.gz |
Revert "efl-loop: Don't use 'main' as a variable name"
This reverts commit 214dbdbd590a8f3fd9a0f3d5ef975d6ff9ce0e43.
-rw-r--r-- | src/lib/ecore/efl_loop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore/efl_loop.c b/src/lib/ecore/efl_loop.c index 3c1d746aa3..d4adc7a607 100644 --- a/src/lib/ecore/efl_loop.c +++ b/src/lib/ecore/efl_loop.c @@ -779,10 +779,10 @@ efl_loop_promise_new(const Eo *obj, Eina_Promise_Cancel_Cb cancel_cb, const void EAPI Eina_Promise * efl_loop_main_promise_new(Eina_Promise_Cancel_Cb cancel_cb, const void *data) { - Efl_Loop *main_loop; + Efl_Loop *main; - main_loop = efl_loop_main_get(EFL_LOOP_CLASS); - return eina_promise_new(efl_loop_future_scheduler_get(main_loop), + main = efl_loop_main_get(EFL_LOOP_CLASS); + return eina_promise_new(efl_loop_future_scheduler_get(main), cancel_cb, data); } |