summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooserdialog.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-12-28 09:57:34 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-12-28 09:57:56 -0500
commit5adecf183bae2b47aa70dbc4b9fdcdd053c23f96 (patch)
tree07d2d6654ac09500c7e960f76efe65de97bd31a0 /gtk/gtkfontchooserdialog.h
parent4d4b6a86581183bf82a67a51e7658cd3b1420a26 (diff)
downloadgtk+-5adecf183bae2b47aa70dbc4b9fdcdd053c23f96.tar.gz
Move single-include guards inside include guards
gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
Diffstat (limited to 'gtk/gtkfontchooserdialog.h')
-rw-r--r--gtk/gtkfontchooserdialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkfontchooserdialog.h b/gtk/gtkfontchooserdialog.h
index ad8d7c73c3..d4a18e5826 100644
--- a/gtk/gtkfontchooserdialog.h
+++ b/gtk/gtkfontchooserdialog.h
@@ -15,13 +15,13 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __GTK_FONT_CHOOSER_DIALOG_H__
+#define __GTK_FONT_CHOOSER_DIALOG_H__
+
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
-#ifndef __GTK_FONT_CHOOSER_DIALOG_H__
-#define __GTK_FONT_CHOOSER_DIALOG_H__
-
#include <gtk/gtkdialog.h>
G_BEGIN_DECLS