Commit 789a4776 authored by Brandon Invergo's avatar Brandon Invergo

Remove unnecessary arguments from reset-idle-hook and reset-exit-hook

parent 8c9f404f
2019-07-09 Brandon Invergo <brandon@invergo.net>
* src/librekontrol-core.c (lk_scm_reset_exit_hook)
(lk_scm_reset_idle_hook): remove unnecessary/unused argument
2019-07-08 Brandon Invergo <brandon@invergo.net>
* src/librekontrol-core.c (get_exit_handler): Fix failure when
......
......@@ -1158,7 +1158,7 @@ lk_scm_remove_idle_hook (SCM lk_device_s, SCM proc)
}
SCM
lk_scm_reset_idle_hook (SCM lk_device_s, SCM ev_id)
lk_scm_reset_idle_hook (SCM lk_device_s)
{
SCM s_idle_handler;
s_idle_handler = get_idle_handler (lk_device_s, false);
......@@ -1263,7 +1263,7 @@ lk_scm_remove_exit_hook (SCM lk_device_s, SCM proc)
}
SCM
lk_scm_reset_exit_hook (SCM lk_device_s, SCM ev_id)
lk_scm_reset_exit_hook (SCM lk_device_s)
{
SCM s_exit_handler;
s_exit_handler = get_exit_handler (lk_device_s, false);
......@@ -1334,11 +1334,11 @@ init_lk_core_module (void *data)
scm_c_define_gsubr ("reset-event-hook!", 3, 0, 0, lk_scm_reset_event_hook);
scm_c_define_gsubr ("add-idle-hook!", 2, 0, 0, lk_scm_add_idle_hook);
scm_c_define_gsubr ("remove-idle-hook!", 2, 0, 0, lk_scm_remove_idle_hook);
scm_c_define_gsubr ("reset-idle-hook!", 2, 0, 0, lk_scm_reset_idle_hook);
scm_c_define_gsubr ("reset-idle-hook!", 1, 0, 0, lk_scm_reset_idle_hook);
scm_c_define_gsubr ("set-idle-wait!", 2, 0, 0, lk_scm_set_idle_wait);
scm_c_define_gsubr ("add-exit-hook!", 2, 0, 0, lk_scm_add_exit_hook);
scm_c_define_gsubr ("remove-exit-hook!", 2, 0, 0, lk_scm_remove_exit_hook);
scm_c_define_gsubr ("reset-exit-hook!", 2, 0, 0, lk_scm_reset_exit_hook);
scm_c_define_gsubr ("reset-exit-hook!", 1, 0, 0, lk_scm_reset_exit_hook);
scm_c_export ("add-event-hook!", "remove-event-hook!", "reset-event-hook!",
"add-idle-hook!", "remove-idle-hook!", "reset-idle-hook!",
"set-idle-wait!", "add-exit-hook!", "remove-exit-hook!",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment