summaryrefslogtreecommitdiff
path: root/src/bindings/js/eo_js/eo_js_event.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/js/eo_js/eo_js_event.hh')
-rw-r--r--src/bindings/js/eo_js/eo_js_event.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bindings/js/eo_js/eo_js_event.hh b/src/bindings/js/eo_js/eo_js_event.hh
index 283b018..45d023e 100644
--- a/src/bindings/js/eo_js/eo_js_event.hh
+++ b/src/bindings/js/eo_js/eo_js_event.hh
@@ -54,7 +54,7 @@ inline v8::Local<v8::Value> get_event_info<void>(void*, v8::Isolate* isolate, co
54} 54}
55 55
56template <typename T> 56template <typename T>
57inline Eina_Bool event_callback(void* data, Efl_Event const* eo_event) 57inline void event_callback(void* data, Efl_Event const* eo_event)
58{ 58{
59 v8::Isolate* isolate = v8::Isolate::GetCurrent(); 59 v8::Isolate* isolate = v8::Isolate::GetCurrent();
60 v8::HandleScope handle_scope(isolate); 60 v8::HandleScope handle_scope(isolate);
@@ -67,8 +67,6 @@ inline Eina_Bool event_callback(void* data, Efl_Event const* eo_event)
67 get_event_info<T>(eo_event->info, isolate, event->event_info->class_name) 67 get_event_info<T>(eo_event->info, isolate, event->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
71 return EO_CALLBACK_CONTINUE;
72} 70}
73 71
74inline eina::js::compatibility_return_type on_event(eina::js::compatibility_callback_info_type args) 72inline eina::js::compatibility_return_type on_event(eina::js::compatibility_callback_info_type args)