forked from enlightenment/efl
Revert "efl-loop: Don't use 'main' as a variable name"
This reverts commit 214dbdbd59
.
This commit is contained in:
parent
c6436337a4
commit
f5a5609c27
|
@ -779,10 +779,10 @@ efl_loop_promise_new(const Eo *obj, Eina_Promise_Cancel_Cb cancel_cb, const void
|
||||||
EAPI Eina_Promise *
|
EAPI Eina_Promise *
|
||||||
efl_loop_main_promise_new(Eina_Promise_Cancel_Cb cancel_cb, const void *data)
|
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);
|
main = efl_loop_main_get(EFL_LOOP_CLASS);
|
||||||
return eina_promise_new(efl_loop_future_scheduler_get(main_loop),
|
return eina_promise_new(efl_loop_future_scheduler_get(main),
|
||||||
cancel_cb, data);
|
cancel_cb, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue