forked from enlightenment/efl
ecore: Simplify code
This commit is contained in:
parent
fce444bb18
commit
06fea06c86
|
@ -364,16 +364,7 @@ _ecore_event_message_handler_efl_loop_message_handler_message_call(Eo *obj, Ecor
|
||||||
if ((type == ECORE_EVENT_SIGNAL_EXIT) && (handled == 0))
|
if ((type == ECORE_EVENT_SIGNAL_EXIT) && (handled == 0))
|
||||||
{
|
{
|
||||||
Eo *loop = efl_provider_find(obj, EFL_LOOP_CLASS);
|
Eo *loop = efl_provider_find(obj, EFL_LOOP_CLASS);
|
||||||
|
if (loop) efl_loop_quit(loop, eina_value_int_init(0));
|
||||||
if (loop)
|
|
||||||
{
|
|
||||||
Eina_Value v = EINA_VALUE_EMPTY;
|
|
||||||
int val = 0;
|
|
||||||
|
|
||||||
eina_value_setup(&v, EINA_VALUE_TYPE_INT);
|
|
||||||
eina_value_set(&v, &val);
|
|
||||||
efl_loop_quit(loop, v);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue