stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c634239b63ec2bce33548156909af3658efcbf0e

commit c634239b63ec2bce33548156909af3658efcbf0e
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Mon Mar 7 14:18:56 2016 +0100

    cxx bindings: get rid of Eo_Event2
    
    This follows the change in EO and fixes some build breaks.
---
 src/bindings/eo_cxx/eo_cxx_interop.hh | 2 +-
 src/bindings/eo_cxx/eo_event.hh       | 2 +-
 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 b1978a8..cbfa1a2 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 5fa6404..fbc3bf6 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);

-- 


Reply via email to