jpeg pushed a commit to branch master.

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

commit 050bd0adc85d35ec0034621fd597ef08a630758c
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Jan 22 15:27:35 2016 +0900

    Eolian Cxx: Fix warnings related to deprecated EO_EV_DEL
    
    Switch the generator to EO_BASE_EVENT_DEL.
---
 src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh | 2 +-
 src/lib/eolian_cxx/grammar/parameters_generator.hh            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh 
b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
index 5389a5d..ab64936 100644
--- a/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
+++ b/src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh
@@ -173,7 +173,7 @@ operator<<(std::ostream& out, functors_constructor_methods 
const& x)
                     if (d.is_cb)
                       d.out << tab(3)
                             << "eo_do(_eoptr," << endl
-                            << tab(4) << "eo_event_callback_add(EO_EV_DEL, "
+                            << tab(4) << 
"eo_event_callback_add(EO_BASE_EVENT_DEL, "
                             << "&::efl::eolian::free_callback_calback<"
                             << parameter_no_ref_type(d.type, d.name)
                             << ">, " << callback_tmp(d.name) << "));" << endl;
diff --git a/src/lib/eolian_cxx/grammar/parameters_generator.hh 
b/src/lib/eolian_cxx/grammar/parameters_generator.hh
index 2d590f2..3b59ea0 100644
--- a/src/lib/eolian_cxx/grammar/parameters_generator.hh
+++ b/src/lib/eolian_cxx/grammar/parameters_generator.hh
@@ -122,7 +122,7 @@ inline std::ostream&
 operator<<(std::ostream& out, callback_parameter_free_ev_add const& x)
 {
    out << "eo_do(" << x._eo_raw_expr
-       << ", eo_event_callback_add(EO_EV_DEL, 
&::efl::eolian::free_callback_calback<"
+       << ", eo_event_callback_add(EO_BASE_EVENT_DEL, 
&::efl::eolian::free_callback_calback<"
        << parameter_no_ref_type(x._type, x._name) << ">, "
        << callback_tmp(x._name) << "));";
    return out;

-- 


Reply via email to