summaryrefslogtreecommitdiff
path: root/src/bindings
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 /src/bindings
parentfbffc7d1bdfc7ce1576e157cf9623c17c94f6d2f (diff)
cxx bindings: get rid of Eo_Event2
This follows the change in EO and fixes some build breaks.
Diffstat (limited to 'src/bindings')
-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()
438} 438}
439 439
440template <typename F> 440template <typename F>
441Eina_Bool free_callback_callback(void* data, ::Eo_Event2 const*) 441Eina_Bool free_callback_callback(void* data, ::Eo_Event const*)
442{ 442{
443 delete static_cast<F*>(data); 443 delete static_cast<F*>(data);
444 return EO_CALLBACK_CONTINUE; 444 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,
137 137
138template <typename T, typename F> 138template <typename T, typename F>
139Eina_Bool 139Eina_Bool
140event_callback(void *data, ::Eo_Event2 const* event) 140event_callback(void *data, ::Eo_Event const* event)
141{ 141{
142 T wrapper(::eo_ref(event->obj)); 142 T wrapper(::eo_ref(event->obj));
143 F *f = static_cast<F*>(data); 143 F *f = static_cast<F*>(data);