summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-06-29 17:23:31 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-10-25 12:23:34 -0200
commit4ce9a424561af584bdb4638d5e848d168d48d9bc (patch)
treef678fcf488032d7fff9da16c5904f3f32fb288d6
parent89a4d2766438309ee13ee042f0a8c2bc47cd1a7d (diff)
eo_js: Update event callback after return removal.
-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)