summaryrefslogtreecommitdiff
path: root/src/bindings/cxx/eo_cxx/eo_event.hh
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-08-15 15:14:53 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-08-15 15:14:53 -0300
commitf8a6568d5c246a0d6fbd5436f4b143eb77806d8c (patch)
tree9fabc04b0a792094c5966e3e560e272ab3f2cfcf /src/bindings/cxx/eo_cxx/eo_event.hh
parentef8a66a41dae0d636704c0ed4b370b4f1e4f52a2 (diff)
eolian-cxx: Fix compilation break with Eo rename to EFL
Diffstat (limited to 'src/bindings/cxx/eo_cxx/eo_event.hh')
-rw-r--r--src/bindings/cxx/eo_cxx/eo_event.hh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bindings/cxx/eo_cxx/eo_event.hh b/src/bindings/cxx/eo_cxx/eo_event.hh
index 8f49b00a40..7c527dd831 100644
--- a/src/bindings/cxx/eo_cxx/eo_event.hh
+++ b/src/bindings/cxx/eo_cxx/eo_event.hh
@@ -75,21 +75,21 @@ template <typename F>
75struct _event_deleter 75struct _event_deleter
76{ 76{
77 _event_deleter(F* data, Eo* eo, ::Efl_Event_Cb cb, Efl_Event_Description const* description) 77 _event_deleter(F* data, Eo* eo, ::Efl_Event_Cb cb, Efl_Event_Description const* description)
78 : _data(data), _eo( ::eo_ref(eo)), _cb(cb), _description(description) 78 : _data(data), _eo( ::efl_ref(eo)), _cb(cb), _description(description)
79 { 79 {
80 } 80 }
81 ~_event_deleter() 81 ~_event_deleter()
82 { 82 {
83 ::eo_unref(_eo); 83 ::efl_unref(_eo);
84 } 84 }
85 _event_deleter(_event_deleter const& other) 85 _event_deleter(_event_deleter const& other)
86 : _data(other._data), _eo( ::eo_ref(other._eo)), _cb(other._cb), _description(other._description) 86 : _data(other._data), _eo( ::efl_ref(other._eo)), _cb(other._cb), _description(other._description)
87 {} 87 {}
88 _event_deleter& operator=(_event_deleter const& other) 88 _event_deleter& operator=(_event_deleter const& other)
89 { 89 {
90 ::eo_unref( _eo); 90 ::efl_unref( _eo);
91 _data = other._data; 91 _data = other._data;
92 _eo = ::eo_ref(other._eo); 92 _eo = ::efl_ref(other._eo);
93 _cb = other._cb; 93 _cb = other._cb;
94 _description = other._description; 94 _description = other._description;
95 return *this; 95 return *this;
@@ -137,7 +137,7 @@ void really_call_event(T& wrapper, F& f, void *info, std::false_type)
137template <typename T, typename P, typename F> 137template <typename T, typename P, typename F>
138void event_callback(void *data, ::Eo_Event const* event) 138void event_callback(void *data, ::Eo_Event const* event)
139{ 139{
140 T wrapper(::eo_ref(event->object)); 140 T wrapper(::efl_ref(event->object));
141 F *f = static_cast<F*>(data); 141 F *f = static_cast<F*>(data);
142 _detail::really_call_event<T, P> 142 _detail::really_call_event<T, P>
143 (wrapper, *f, event->info, std::is_void<P>{}); 143 (wrapper, *f, event->info, std::is_void<P>{});