diff options
author | Cedric Bail <cedric@osg.samsung.com> | 2016-05-18 08:17:36 -0700 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2016-05-18 08:18:04 -0700 |
commit | 75a53ece1007d927b8f0b6c5d3f269726afb9108 (patch) | |
tree | 034e6bcccf51916512c5e361666f9f46a1b97069 /src/bindings | |
parent | 72adab722226b664ce0b63be46650874cd8b0ef9 (diff) | |
download | efl-75a53ece1007d927b8f0b6c5d3f269726afb9108.tar.gz |
eo: for consistency use object like all our API.
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/eo_cxx/eo_event.hh | 2 | ||||
-rw-r--r-- | src/bindings/js/eo_js/eo_js_event.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/eo_cxx/eo_event.hh b/src/bindings/eo_cxx/eo_event.hh index 5633e89229..320bfc9cba 100644 --- a/src/bindings/eo_cxx/eo_event.hh +++ b/src/bindings/eo_cxx/eo_event.hh @@ -139,7 +139,7 @@ template <typename T, typename F> Eina_Bool event_callback(void *data, ::Eo_Event const* event) { - T wrapper(::eo_ref(event->obj)); + T wrapper(::eo_ref(event->object)); F *f = static_cast<F*>(data); return _detail::really_call_event(wrapper, *f, *event->desc, event->info , std::is_void<decltype((*f)(wrapper, *event->desc, event->info))>()); diff --git a/src/bindings/js/eo_js/eo_js_event.hh b/src/bindings/js/eo_js/eo_js_event.hh index 3e1ff638c6..9d9219df85 100644 --- a/src/bindings/js/eo_js/eo_js_event.hh +++ b/src/bindings/js/eo_js/eo_js_event.hh @@ -59,7 +59,7 @@ inline Eina_Bool event_callback(void* data, Eo_Event const* eo_event) v8::Isolate* isolate = v8::Isolate::GetCurrent(); v8::HandleScope handle_scope(isolate); event_callback_information* event = static_cast<event_callback_information*>(data); - v8::Handle<v8::Value> a[] = {eina::js::compatibility_new<v8::External>(isolate, eo_event->obj)}; + v8::Handle<v8::Value> a[] = {eina::js::compatibility_new<v8::External>(isolate, eo_event->object)}; v8::Local<v8::Object> self = (event->info->constructor->handle())->NewInstance(1, a); v8::Local<v8::Value> call_args[] = { |