X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fshade.c;h=2342067fc429405b5939333e7d9cb34ca252877e;hb=0dc7eca4cdfff6425e19a0bace0f9ae8834d04e8;hp=3b69b2a1ec81fe3c8fb0a1460f6624b2d0ebb6b3;hpb=9a0aab8d8d54baed38cdfeb9dcc248232ffa0736;p=chaz%2Fopenbox diff --git a/openbox/actions/shade.c b/openbox/actions/shade.c index 3b69b2a1..2342067f 100644 --- a/openbox/actions/shade.c +++ b/openbox/actions/shade.c @@ -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) {