ecore: Simplify code

This commit is contained in:
Jean-Philippe Andre 2017-12-18 13:35:32 +09:00
parent fce444bb18
commit 06fea06c86
1 changed files with 1 additions and 10 deletions

View File

@ -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))
{
Eo *loop = efl_provider_find(obj, EFL_LOOP_CLASS);
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);
}
if (loop) efl_loop_quit(loop, eina_value_int_init(0));
}
}