X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fshade.c;h=502781dd9e34a58739d16d8a66b9ccc38d518776;hb=3fd74abb3c2969f170d727154245cde3ef8a4b87;hp=a8db09899cc9cf5736a578032ff814f7a324b199;hpb=1af52f6b8d3132b75eefbbf2a80f4cb3d33490ca;p=chaz%2Fopenbox diff --git a/openbox/actions/shade.c b/openbox/actions/shade.c index a8db0989..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 */