diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2016-06-29 17:23:31 -0300 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2017-02-20 16:04:59 +0100 |
commit | a36c3edefbcffc27d9e738f692f74e86f5dc0730 (patch) | |
tree | 3ca395f76540b9cf41538f2a23f7ca59adfc55be | |
parent | b34c7ad7185a62bda81450b95f0444b72687dd8f (diff) | |
download | efl-a36c3edefbcffc27d9e738f692f74e86f5dc0730.tar.gz |
eo_js: Update event callback after return removal.
(cherry picked from commit 4ce9a424561af584bdb4638d5e848d168d48d9bc)
-rw-r--r-- | src/bindings/js/eo_js/eo_js_event.hh | 4 |
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 617df6080a..352b65ecb7 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 } template <typename T> -inline Eina_Bool event_callback(void* data, Eo_Event const* eo_event) +inline void event_callback(void* data, Eo_Event const* eo_event) { v8::Isolate* isolate = v8::Isolate::GetCurrent(); v8::HandleScope handle_scope(isolate); @@ -67,8 +67,6 @@ inline Eina_Bool event_callback(void* data, Eo_Event const* eo_event) get_event_info<T>(eo_event->info, isolate, event->event_info->class_name) }; event->function.handle()->Call(eina::js::compatibility_global(), 2, call_args); - - return EO_CALLBACK_CONTINUE; } inline eina::js::compatibility_return_type on_event(eina::js::compatibility_callback_info_type args) |