From dd266fd27d6e18eda40769b4f5ca744d330118ff Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 27 Jan 2017 23:01:25 +0100 Subject: [PATCH] Use the new, double-add protected hook functions Signed-off-by: Gergely Nagy --- src/Akela/TapDance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Akela/TapDance.cpp b/src/Akela/TapDance.cpp index d11da79f..573936f5 100644 --- a/src/Akela/TapDance.cpp +++ b/src/Akela/TapDance.cpp @@ -103,8 +103,8 @@ namespace Akela { void TapDance::begin (void) { - event_handler_hook_add (this->eventHandlerHook); - loop_hook_add (this->loopHook); + event_handler_hook_use (this->eventHandlerHook); + loop_hook_use (this->loopHook); } void