diff --git a/src/bindings/eo_cxx/eo_inherit_bindings.hh b/src/bindings/eo_cxx/eo_inherit_bindings.hh index cffaa4d588..7f7bdf9b5a 100644 --- a/src/bindings/eo_cxx/eo_inherit_bindings.hh +++ b/src/bindings/eo_cxx/eo_inherit_bindings.hh @@ -241,10 +241,12 @@ EAPI void inherit_constructor(void* this_, Args args) op = _eo_api_op_id_get (reinterpret_cast (static_cast(&detail::inherit_constructor)), - __FILE__, __LINE__); - if (!_eo_call_resolve("detail::inherit_constructor", op, &call, __FILE__, __LINE__)) + ::eina_main_loop_is(), __FILE__, __LINE__); + if (!_eo_call_resolve("detail::inherit_constructor", op, &call, + ::eina_main_loop_is(), __FILE__, __LINE__)) { - assert(_eo_call_resolve("detail::inherit_constructor", op, &call, __FILE__, __LINE__)); + assert(_eo_call_resolve("detail::inherit_constructor", op, &call, + ::eina_main_loop_is(), __FILE__, __LINE__)); return; } func_t func = (func_t) call.func;