summaryrefslogtreecommitdiff
path: root/clutter/clutter-grid-layout.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-07-07 15:51:13 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2015-07-07 16:03:32 +0100
commit02b69e4d76f7f94f8faa964ebca2d01df7aaa8cf (patch)
treefcf2c8d01940c6bf4209710bfbeaa0f8f20bbef0 /clutter/clutter-grid-layout.h
parentcffa243fbe675d0025a53cbc069e29ecfcc65176 (diff)
downloadclutter-02b69e4d76f7f94f8faa964ebca2d01df7aaa8cf.tar.gz
Move header inclusion guard at the top
GCC has some optimization for the inclusion guard, but they only work if the check is the outermost one. We're fairly inconsistent because of historical reasons, so we should ensure that we follow the same pattern in every public header.
Diffstat (limited to 'clutter/clutter-grid-layout.h')
-rw-r--r--clutter/clutter-grid-layout.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clutter/clutter-grid-layout.h b/clutter/clutter-grid-layout.h
index 1c7644a2b..c04a5ba4f 100644
--- a/clutter/clutter-grid-layout.h
+++ b/clutter/clutter-grid-layout.h
@@ -26,13 +26,13 @@
* Matthias Clasen
*/
+#ifndef __CLUTTER_GRID_LAYOUT_H__
+#define __CLUTTER_GRID_LAYOUT_H__
+
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only <clutter/clutter.h> can be included directly."
#endif
-#ifndef __CLUTTER_GRID_LAYOUT_H__
-#define __CLUTTER_GRID_LAYOUT_H__
-
#include <clutter/clutter-layout-manager.h>
G_BEGIN_DECLS