]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/shade.c
Merge branch 'backport' into work
[chaz/openbox] / openbox / actions / shade.c
index 3b69b2a1ec81fe3c8fb0a1460f6624b2d0ebb6b3..2342067fc429405b5939333e7d9cb34ca252877e 100644 (file)
@@ -5,7 +5,7 @@ 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);
@@ -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.024927 seconds and 4 git commands to generate.