X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fdecorations.c;h=f6fd2cbeb7762df6a5567a9459d959beefdc14fc;hb=7c4fae0312dc7af7578e0fe345cec0a92ea87c9f;hp=bee25f3e25ce0da34a01b530c12c74dcf53ecaeb;hpb=e85b430648b45e80941be1bb474859996f2712d2;p=chaz%2Fopenbox diff --git a/openbox/actions/decorations.c b/openbox/actions/decorations.c index bee25f3e..f6fd2cbe 100644 --- a/openbox/actions/decorations.c +++ b/openbox/actions/decorations.c @@ -5,12 +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_decorations_startup() +void action_decorations_startup(void) { - actions_register("Decorate", NULL, NULL, run_func_on, NULL, NULL); - actions_register("Undecorate", NULL, NULL, run_func_off, NULL, NULL); - actions_register("ToggleDecorations", NULL, NULL, run_func_toggle, - NULL, NULL); + actions_register("Decorate", NULL, NULL, run_func_on); + actions_register("Undecorate", NULL, NULL, run_func_off); + actions_register("ToggleDecorations", NULL, NULL, run_func_toggle); } /* Always return FALSE because its not interactive */