summaryrefslogtreecommitdiff
path: root/clutter
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-03-20 12:33:06 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2018-06-17 18:28:11 +0100
commit979e4b9c9a6584985eef30640678a46d9022f9b7 (patch)
treedcb6430e5ec6609c29f1709996150a22d26e3031 /clutter
parentaee9618bb881cc44f889bda35450cd57cdda28a0 (diff)
downloadclutter-979e4b9c9a6584985eef30640678a46d9022f9b7.tar.gz
Update the clutter-config header template
Move the single include guard after the include guard, and turn the latter into a 'once' pragma while we're at it.
Diffstat (limited to 'clutter')
-rw-r--r--clutter/clutter-config.h.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/clutter/clutter-config.h.in b/clutter/clutter-config.h.in
index 0aeadd25c..187b84f09 100644
--- a/clutter/clutter-config.h.in
+++ b/clutter/clutter-config.h.in
@@ -1,10 +1,9 @@
+#pragma once
+
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only <clutter/clutter.h> can be included directly."
#endif
-#ifndef __CLUTTER_CONFIG_H__
-#define __CLUTTER_CONFIG_H__
-
#include <glib.h>
G_BEGIN_DECLS
@@ -12,5 +11,3 @@ G_BEGIN_DECLS
@CLUTTER_CONFIG_DEFINES@
G_END_DECLS
-
-#endif /* __CLUTTER_CONFIG_H__ */