summaryrefslogtreecommitdiff
path: root/openbox/actions/addremovedesktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions/addremovedesktop.c')
-rw-r--r--openbox/actions/addremovedesktop.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/openbox/actions/addremovedesktop.c b/openbox/actions/addremovedesktop.c
index 1e7f0b57..111742c1 100644
--- a/openbox/actions/addremovedesktop.c
+++ b/openbox/actions/addremovedesktop.c
@@ -19,20 +19,17 @@ static gpointer setup_removelast_func(xmlNodePtr node);
void action_addremovedesktop_startup(void)
{
- actions_register("AddDesktop", setup_add_func, g_free, run_func,
- NULL, NULL);
- actions_register("RemoveDesktop", setup_remove_func, g_free, run_func,
- NULL, NULL);
+ actions_register("AddDesktop", setup_add_func, g_free, run_func);
+ actions_register("RemoveDesktop", setup_remove_func, g_free, run_func);
/* 3.4-compatibility */
- actions_register("AddDesktopLast", setup_addlast_func, g_free, run_func,
- NULL, NULL);
- actions_register("RemoveDesktopLast", setup_removelast_func, g_free, run_func,
- NULL, NULL);
- actions_register("AddDesktopCurrent", setup_addcurrent_func, g_free, run_func,
- NULL, NULL);
- actions_register("RemoveDesktopCurrent", setup_removecurrent_func, g_free, run_func,
- NULL, NULL);
+ actions_register("AddDesktopLast", setup_addlast_func, g_free, run_func);
+ actions_register("RemoveDesktopLast", setup_removelast_func,
+ g_free, run_func);
+ actions_register("AddDesktopCurrent", setup_addcurrent_func,
+ g_free, run_func);
+ actions_register("RemoveDesktopCurrent", setup_removecurrent_func,
+ g_free, run_func);
}
static gpointer setup_func(xmlNodePtr node)