diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-07-07 15:51:13 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-07-07 16:03:32 +0100 |
commit | 02b69e4d76f7f94f8faa964ebca2d01df7aaa8cf (patch) | |
tree | fcf2c8d01940c6bf4209710bfbeaa0f8f20bbef0 /clutter/clutter-binding-pool.h | |
parent | cffa243fbe675d0025a53cbc069e29ecfcc65176 (diff) | |
download | clutter-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-binding-pool.h')
-rw-r--r-- | clutter/clutter-binding-pool.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clutter/clutter-binding-pool.h b/clutter/clutter-binding-pool.h index 6df5260b3..2830d2711 100644 --- a/clutter/clutter-binding-pool.h +++ b/clutter/clutter-binding-pool.h @@ -21,13 +21,13 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef __CLUTTER_BINDING_POOL_H__ +#define __CLUTTER_BINDING_POOL_H__ + #if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) #error "Only <clutter/clutter.h> can be included directly." #endif -#ifndef __CLUTTER_BINDING_POOL_H__ -#define __CLUTTER_BINDING_POOL_H__ - #include <glib-object.h> #include <clutter/clutter-event.h> |