Fix preload after removal of ecore_main_loop_begin

Since this function doesn't exist anymore, we need to catch the loop
begin in a different way.
master
Daniel Zaoui 5 years ago
parent 09dc7c8353
commit c83ed3fabb
  1. 11
      src/lib/tsuite_hook_player.c

@ -516,12 +516,11 @@ tsuite_feed_event(void *data)
return ECORE_CALLBACK_CANCEL;
}
void
ecore_main_loop_begin(void)
EOAPI Eina_Value *
efl_loop_begin(Eo *obj)
{
void (*_ecore_main_loop_begin)(void) =
dlsym(RTLD_NEXT, "ecore_main_loop_begin");
static Eina_Value * (*_foo)(Eo *) = NULL;
if (!_foo) _foo = dlsym(RTLD_NEXT, __func__);
if (_hook_setting->file_name)
{
@ -558,7 +557,7 @@ ecore_main_loop_begin(void)
}
}
return _ecore_main_loop_begin();
return _foo(obj);
}
static void

Loading…
Cancel
Save