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