From: Ben Pfaff Date: Sat, 10 Mar 2012 18:39:19 +0000 (-0800) Subject: psppire-buttonbox: Fix style in header file. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=a93017835eed453a8a4b5917a3a7b3a371828b10 psppire-buttonbox: Fix style in header file. It's totally bizarre and unnecessary to define a macro in the middle of a function prototype, so this commit moves it. --- diff --git a/src/ui/gui/psppire-buttonbox.h b/src/ui/gui/psppire-buttonbox.h index 654f181442..8d3d6efdfe 100644 --- a/src/ui/gui/psppire-buttonbox.h +++ b/src/ui/gui/psppire-buttonbox.h @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2007, 2010, 2011 Free Software Foundation + Copyright (C) 2007, 2010, 2011, 2012 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -70,12 +70,10 @@ _psppire_button_box_child_requisition (GtkWidget *widget, int *nvis_children, int *nvis_secondaries, int *width, - - -#define PSPPIRE_TYPE_BUTTON_MASK \ - (psppire_button_flags_get_type()) int *height); +#define PSPPIRE_TYPE_BUTTON_MASK psppire_button_flags_get_type() + G_END_DECLS #endif /* __PSPPIRE_BUTTONBOX_H__ */