]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/shade.c
Merge branch 'backport' into work
[chaz/openbox] / openbox / actions / shade.c
index a8db09899cc9cf5736a578032ff814f7a324b199..502781dd9e34a58739d16d8a66b9ccc38d518776 100644 (file)
@@ -5,11 +5,11 @@ static gboolean run_func_on(ObActionsData *data, gpointer options);
 static gboolean run_func_off(ObActionsData *data, gpointer options);
 static gboolean run_func_toggle(ObActionsData *data, gpointer options);
 
-void action_shade_startup()
+void action_shade_startup(void)
 {
-    actions_register("Shade", NULL, NULL, run_func_on, NULL, NULL);
-    actions_register("Unshade", NULL, NULL, run_func_off, NULL, NULL);
-    actions_register("ToggleShade", NULL, NULL, run_func_toggle, NULL, NULL);
+    actions_register("Shade", NULL, NULL, run_func_on);
+    actions_register("Unshade", NULL, NULL, run_func_off);
+    actions_register("ToggleShade", NULL, NULL, run_func_toggle);
 }
 
 /* Always return FALSE because its not interactive */
This page took 0.022269 seconds and 4 git commands to generate.