summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-06-29 17:23:31 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2017-02-13 11:56:41 -0300
commitc5e61c146fde84cf2a84ff7d54bb3a4667d3f0ff (patch)
tree74a36109a12b031f28a685a47b60ab3558e1ccb7
parent5c0afb1103fb01a862149e9fd3122c26a2098b44 (diff)
downloadefl-c5e61c146fde84cf2a84ff7d54bb3a4667d3f0ff.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.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 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)