cxx bindings: get rid of Eo_Event2

This follows the change in EO and fixes some build breaks.
This commit is contained in:
Stefan Schmidt 2016-03-07 14:18:56 +01:00
parent fbffc7d1bd
commit c634239b63
2 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ C get_callback()
}
template <typename F>
Eina_Bool free_callback_callback(void* data, ::Eo_Event2 const*)
Eina_Bool free_callback_callback(void* data, ::Eo_Event const*)
{
delete static_cast<F*>(data);
return EO_CALLBACK_CONTINUE;

View File

@ -137,7 +137,7 @@ Eina_Bool really_call_event(T& wrapper, F& f, Eo_Event_Description const& desc,
template <typename T, typename F>
Eina_Bool
event_callback(void *data, ::Eo_Event2 const* event)
event_callback(void *data, ::Eo_Event const* event)
{
T wrapper(::eo_ref(event->obj));
F *f = static_cast<F*>(data);