Use the new, double-add protected hook functions

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/365/head
Gergely Nagy 8 years ago
parent 6337d878bb
commit 93bd914296

@ -62,7 +62,7 @@ Macros_::Macros_ (void) {
void
Macros_::begin (void) {
event_handler_hook_add (handleMacroEvent);
event_handler_hook_use (handleMacroEvent);
}
Macros_ Macros;

Loading…
Cancel
Save