Stop using deprecated interfaces

Use `Kaleidoscope.useEventHandlerHook` instead of `event_handler_hook_use`,
which is getting deprecated.

Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
pull/365/head
Gergely Nagy 7 years ago
parent c55976c7aa
commit 3e2812889e

@ -198,7 +198,7 @@ Macros_::Macros_(void) {
void
Macros_::begin(void) {
event_handler_hook_use(handleMacroEvent);
Kaleidoscope.useEventHandlerHook(handleMacroEvent);
}
Macros_ Macros;

Loading…
Cancel
Save