summaryrefslogtreecommitdiffhomepage
path: root/mixguile
diff options
context:
space:
mode:
Diffstat (limited to 'mixguile')
-rw-r--r--mixguile/xmixguile_cmd_dispatcher.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/mixguile/xmixguile_cmd_dispatcher.c b/mixguile/xmixguile_cmd_dispatcher.c
index 4cb327b..d6baf47 100644
--- a/mixguile/xmixguile_cmd_dispatcher.c
+++ b/mixguile/xmixguile_cmd_dispatcher.c
@@ -467,12 +467,10 @@ mix_add_hook_ (SCM cmd, SCM function, gboolean pre)
SCM_DEFER_INTS;
if (pre)
mix_vm_cmd_dispatcher_pre_hook (vm_dispatcher_, command, scm_hook_,
- (gpointer)
- define_hook_procedure_ (function));
+ (gpointer) define_hook_procedure_ (function));
else
mix_vm_cmd_dispatcher_post_hook (vm_dispatcher_, command, scm_hook_,
- (gpointer)
- define_hook_procedure_ (function));
+ (gpointer) define_hook_procedure_ (function));
SCM_ALLOW_INTS;
return SCM_BOOL_T;
}
@@ -487,12 +485,10 @@ mix_add_global_hook_ (SCM function, gboolean pre)
SCM_DEFER_INTS;
if (pre)
mix_vm_cmd_dispatcher_global_pre_hook (vm_dispatcher_, scm_global_hook_,
- (gpointer)
- define_hook_procedure_ (function));
+ (gpointer) define_hook_procedure_ (function));
else
mix_vm_cmd_dispatcher_global_post_hook (vm_dispatcher_, scm_global_hook_,
- (gpointer)
- define_hook_procedure_ (function));
+ (gpointer) define_hook_procedure_ (function));
SCM_ALLOW_INTS;
return SCM_BOOL_T;
}