summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-03-07 14:18:56 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-03-07 14:18:56 +0100
commitc634239b63ec2bce33548156909af3658efcbf0e (patch)
tree16535450250fed7b546df7d40148e1128bbaae98
parentfbffc7d1bdfc7ce1576e157cf9623c17c94f6d2f (diff)
downloadefl-c634239b63ec2bce33548156909af3658efcbf0e.tar.gz
cxx bindings: get rid of Eo_Event2
This follows the change in EO and fixes some build breaks.
-rw-r--r--src/bindings/eo_cxx/eo_cxx_interop.hh2
-rw-r--r--src/bindings/eo_cxx/eo_event.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/eo_cxx/eo_cxx_interop.hh b/src/bindings/eo_cxx/eo_cxx_interop.hh
index b1978a87c2..cbfa1a2c31 100644
--- a/src/bindings/eo_cxx/eo_cxx_interop.hh
+++ b/src/bindings/eo_cxx/eo_cxx_interop.hh
@@ -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;
diff --git a/src/bindings/eo_cxx/eo_event.hh b/src/bindings/eo_cxx/eo_event.hh
index 5fa6404256..fbc3bf60cd 100644
--- a/src/bindings/eo_cxx/eo_event.hh
+++ b/src/bindings/eo_cxx/eo_event.hh
@@ -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);