]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/shade.c
Merge branch 'master' into chaz
[chaz/openbox] / openbox / actions / shade.c
index 3b69b2a1ec81fe3c8fb0a1460f6624b2d0ebb6b3..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 */
@@ -23,6 +23,7 @@ static gboolean run_func_on(ObActionsData *data, gpointer options)
     return FALSE;
 }
 
+/* Always return FALSE because its not interactive */
 static gboolean run_func_off(ObActionsData *data, gpointer options)
 {
     if (data->client) {
@@ -33,6 +34,7 @@ static gboolean run_func_off(ObActionsData *data, gpointer options)
     return FALSE;
 }
 
+/* Always return FALSE because its not interactive */
 static gboolean run_func_toggle(ObActionsData *data, gpointer options)
 {
     if (data->client) {
This page took 0.021393 seconds and 4 git commands to generate.