summaryrefslogtreecommitdiff
path: root/gdk/gdkapplaunchcontext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-12-28 11:26:46 -0500
committerMatthias Clasen <mclasen@redhat.com>2012-12-28 11:26:46 -0500
commit1f0f3994694ec3f1baa43932c186db78814b2abd (patch)
tree36b7c901a457c247bab98dad486781822b6f8dca /gdk/gdkapplaunchcontext.h
parent44402df7dd412730e2128deb51a3885437ca7caf (diff)
downloadgtk+-1f0f3994694ec3f1baa43932c186db78814b2abd.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/gdkapplaunchcontext.h')
-rw-r--r--gdk/gdkapplaunchcontext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h
index cb53025c46..31a414c948 100644
--- a/gdk/gdkapplaunchcontext.h
+++ b/gdk/gdkapplaunchcontext.h
@@ -20,13 +20,13 @@
* Author: Alexander Larsson <alexl@redhat.com>
*/
+#ifndef __GDK_APP_LAUNCH_CONTEXT_H__
+#define __GDK_APP_LAUNCH_CONTEXT_H__
+
#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
#endif
-#ifndef __GDK_APP_LAUNCH_CONTEXT_H__
-#define __GDK_APP_LAUNCH_CONTEXT_H__
-
#include <gio/gio.h>
#include <gdk/gdkscreen.h>