summaryrefslogtreecommitdiff
path: root/src/bindings/js
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-04-12 15:23:55 +0100
committerTom Hacohen <tom@stosb.com>2016-04-12 15:23:55 +0100
commitf14305024e28d9d427b69a2fc2ebc9f842f25353 (patch)
tree26e4adc8a26ed7789cb6c3682ca04740a4c6d091 /src/bindings/js
parent736fb9d4980a7dee83ca0721d8b9b58c6c12a39d (diff)
Eo event: rename Eo_Event->event_info to Eo_Event->info.
The previous naming was redundant and too long.
Diffstat (limited to 'src/bindings/js')
-rw-r--r--src/bindings/js/eo_js/eo_js_event.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/js/eo_js/eo_js_event.hh b/src/bindings/js/eo_js/eo_js_event.hh
index b589e5d6cc..3e1ff638c6 100644
--- a/src/bindings/js/eo_js/eo_js_event.hh
+++ b/src/bindings/js/eo_js/eo_js_event.hh
@@ -60,11 +60,11 @@ inline Eina_Bool event_callback(void* data, Eo_Event const* eo_event)
60 v8::HandleScope handle_scope(isolate); 60 v8::HandleScope handle_scope(isolate);
61 event_callback_information* event = static_cast<event_callback_information*>(data); 61 event_callback_information* event = static_cast<event_callback_information*>(data);
62 v8::Handle<v8::Value> a[] = {eina::js::compatibility_new<v8::External>(isolate, eo_event->obj)}; 62 v8::Handle<v8::Value> a[] = {eina::js::compatibility_new<v8::External>(isolate, eo_event->obj)};
63 v8::Local<v8::Object> self = (event->event_info->constructor->handle())->NewInstance(1, a); 63 v8::Local<v8::Object> self = (event->info->constructor->handle())->NewInstance(1, a);
64 64
65 v8::Local<v8::Value> call_args[] = { 65 v8::Local<v8::Value> call_args[] = {
66 self, 66 self,
67 get_event_info<T>(eo_event->event_info, isolate, event->event_info->class_name) 67 get_event_info<T>(eo_event->info, isolate, event->info->class_name)
68 }; 68 };
69 event->function.handle()->Call(eina::js::compatibility_global(), 2, call_args); 69 event->function.handle()->Call(eina::js::compatibility_global(), 2, call_args);
70 70