diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-12-28 09:57:34 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-12-28 09:57:56 -0500 |
commit | 5adecf183bae2b47aa70dbc4b9fdcdd053c23f96 (patch) | |
tree | 07d2d6654ac09500c7e960f76efe65de97bd31a0 /gdk/x11/gdkx11screen.h | |
parent | 4d4b6a86581183bf82a67a51e7658cd3b1420a26 (diff) | |
download | gtk+-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 'gdk/x11/gdkx11screen.h')
-rw-r--r-- | gdk/x11/gdkx11screen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/x11/gdkx11screen.h b/gdk/x11/gdkx11screen.h index a612692763..1c974ef286 100644 --- a/gdk/x11/gdkx11screen.h +++ b/gdk/x11/gdkx11screen.h @@ -22,13 +22,13 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ +#ifndef __GDK_X11_SCREEN_H__ +#define __GDK_X11_SCREEN_H__ + #if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION) #error "Only <gdk/gdkx.h> can be included directly." #endif -#ifndef __GDK_X11_SCREEN_H__ -#define __GDK_X11_SCREEN_H__ - #include <gdk/gdk.h> #include <X11/Xlib.h> |