diff --git a/clutter/clutter/cally/cally-actor-private.h b/clutter/clutter/cally/cally-actor-private.h
index 23884bb27..55a7d95cb 100644
--- a/clutter/clutter/cally/cally-actor-private.h
+++ b/clutter/clutter/cally/cally-actor-private.h
@@ -22,8 +22,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_ACTOR_PRIVATE_H__
-#define __CALLY_ACTOR_PRIVATE_H__
+#pragma once
#include "cally-actor.h"
@@ -38,5 +37,3 @@
void _cally_actor_get_top_level_origin (ClutterActor *actor,
gint *x,
gint *y);
-
-#endif /* __CALLY_ACTOR_PRIVATE_H__ */
diff --git a/clutter/clutter/cally/cally-actor.h b/clutter/clutter/cally/cally-actor.h
index 56ac233b3..34657fa1f 100644
--- a/clutter/clutter/cally/cally-actor.h
+++ b/clutter/clutter/cally/cally-actor.h
@@ -22,8 +22,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_ACTOR_H__
-#define __CALLY_ACTOR_H__
+#pragma once
#if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -135,5 +134,3 @@ gboolean cally_actor_remove_action_by_name (CallyActor *cally_actor,
const gchar *action_name);
G_END_DECLS
-
-#endif /* __CALLY_ACTOR_H__ */
diff --git a/clutter/clutter/cally/cally-clone.h b/clutter/clutter/cally/cally-clone.h
index 56f4666aa..3a819d2a5 100644
--- a/clutter/clutter/cally/cally-clone.h
+++ b/clutter/clutter/cally/cally-clone.h
@@ -18,8 +18,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_CLONE_H__
-#define __CALLY_CLONE_H__
+#pragma once
#if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -67,5 +66,3 @@ CLUTTER_EXPORT
AtkObject *cally_clone_new (ClutterActor *actor);
G_END_DECLS
-
-#endif /* __CALLY_CLONE_H__ */
diff --git a/clutter/clutter/cally/cally-factory.h b/clutter/clutter/cally/cally-factory.h
index 3af93d0d4..fe7d12d3b 100644
--- a/clutter/clutter/cally/cally-factory.h
+++ b/clutter/clutter/cally/cally-factory.h
@@ -23,8 +23,7 @@
* Boston, MA 02111-1307, USA.
*/
-#ifndef _CALLY_FACTORY_H__
-#define _CALLY_FACTORY_H__
+#pragma once
#include
#include
@@ -109,5 +108,3 @@ type_as_function ## _factory_get_type (void) \
atk_registry_set_factory_type (atk_get_default_registry (), \
widget_type, \
type_as_function ## _factory_get_type ())
-
-#endif /* _CALLY_FACTORY_H__ */
diff --git a/clutter/clutter/cally/cally-main.h b/clutter/clutter/cally/cally-main.h
index 07d668b03..ce50513a0 100644
--- a/clutter/clutter/cally/cally-main.h
+++ b/clutter/clutter/cally/cally-main.h
@@ -22,8 +22,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_MAIN_H__
-#define __CALLY_MAIN_H__
+#pragma once
#if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -40,5 +39,3 @@ CLUTTER_EXPORT
gboolean cally_accessibility_init (void);
G_END_DECLS
-
-#endif /* __CALLY_MAIN_H__ */
diff --git a/clutter/clutter/cally/cally-root.h b/clutter/clutter/cally/cally-root.h
index 8c5e81b5c..bbf080683 100644
--- a/clutter/clutter/cally/cally-root.h
+++ b/clutter/clutter/cally/cally-root.h
@@ -18,8 +18,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_ROOT_H__
-#define __CALLY_ROOT_H__
+#pragma once
#if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -67,5 +66,3 @@ CLUTTER_EXPORT
AtkObject *cally_root_new (void);
G_END_DECLS
-
-#endif /* __CALLY_ROOT_H__ */
diff --git a/clutter/clutter/cally/cally-stage.h b/clutter/clutter/cally/cally-stage.h
index 95ad89e4d..e78c9e5a2 100644
--- a/clutter/clutter/cally/cally-stage.h
+++ b/clutter/clutter/cally/cally-stage.h
@@ -18,8 +18,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_STAGE_H__
-#define __CALLY_STAGE_H__
+#pragma once
#if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -67,5 +66,3 @@ CLUTTER_EXPORT
AtkObject *cally_stage_new (ClutterActor *actor);
G_END_DECLS
-
-#endif /* __CALLY_STAGE_H__ */
diff --git a/clutter/clutter/cally/cally-text.h b/clutter/clutter/cally/cally-text.h
index 7a4af4d71..11f8ce85c 100644
--- a/clutter/clutter/cally/cally-text.h
+++ b/clutter/clutter/cally/cally-text.h
@@ -18,8 +18,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_TEXT_H__
-#define __CALLY_TEXT_H__
+#pragma once
#if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -67,5 +66,3 @@ CLUTTER_EXPORT
AtkObject* cally_text_new (ClutterActor *actor);
G_END_DECLS
-
-#endif /* __CALLY_TEXT_H__ */
diff --git a/clutter/clutter/cally/cally-util.h b/clutter/clutter/cally/cally-util.h
index faa5d8420..756d2a64d 100644
--- a/clutter/clutter/cally/cally-util.h
+++ b/clutter/clutter/cally/cally-util.h
@@ -18,8 +18,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_UTIL_H__
-#define __CALLY_UTIL_H__
+#pragma once
#if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -69,5 +68,3 @@ void _cally_util_override_atk_util (void);
gboolean cally_snoop_key_event (ClutterKeyEvent *key);
G_END_DECLS
-
-#endif /* __CALLY_UTIL_H__ */
diff --git a/clutter/clutter/cally/cally.h b/clutter/clutter/cally/cally.h
index 98c3a4499..0305f1dab 100644
--- a/clutter/clutter/cally/cally.h
+++ b/clutter/clutter/cally/cally.h
@@ -18,8 +18,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CALLY_H__
-#define __CALLY_H__
+#pragma once
#define __CALLY_H_INSIDE__
@@ -33,5 +32,3 @@
#include "cally-util.h"
#undef __CALLY_H_INSIDE__
-
-#endif /* __CALLY_H__ */
diff --git a/clutter/clutter/clutter-action-private.h b/clutter/clutter/clutter-action-private.h
index 97a1e6395..9bf59a4ee 100644
--- a/clutter/clutter/clutter-action-private.h
+++ b/clutter/clutter/clutter-action-private.h
@@ -22,8 +22,7 @@
* Carlos Garnacho
*/
-#ifndef CLUTTER_ACTION_PRIVATE_H
-#define CLUTTER_ACTION_PRIVATE_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -44,5 +43,3 @@ void clutter_action_sequence_cancelled (ClutterAction *action,
ClutterEventSequence *sequence);
G_END_DECLS
-
-#endif /* CLUTTER_ACTION_PRIVATE_H */
diff --git a/clutter/clutter/clutter-action.h b/clutter/clutter/clutter-action.h
index 73e618b40..c9f19cfa7 100644
--- a/clutter/clutter/clutter-action.h
+++ b/clutter/clutter/clutter-action.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_ACTION_H__
-#define __CLUTTER_ACTION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -90,5 +89,3 @@ gboolean clutter_actor_has_actions (ClutterActor *self);
ClutterEventPhase clutter_action_get_phase (ClutterAction *action);
G_END_DECLS
-
-#endif /* __CLUTTER_ACTION_H__ */
diff --git a/clutter/clutter/clutter-actor-box-private.h b/clutter/clutter/clutter-actor-box-private.h
index e7aeb8857..6611e25cd 100644
--- a/clutter/clutter/clutter-actor-box-private.h
+++ b/clutter/clutter/clutter-actor-box-private.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_ACTOR_BOX_PRIVATE_H__
-#define __CLUTTER_ACTOR_BOX_PRIVATE_H__
+#pragma once
#include
@@ -8,5 +7,3 @@ G_BEGIN_DECLS
void _clutter_actor_box_enlarge_for_effects (ClutterActorBox *box);
G_END_DECLS
-
-#endif /* __CLUTTER_ACTOR_BOX_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-actor-meta-private.h b/clutter/clutter/clutter-actor-meta-private.h
index 661c352a5..386b78731 100644
--- a/clutter/clutter/clutter-actor-meta-private.h
+++ b/clutter/clutter/clutter-actor-meta-private.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_ACTOR_META_PRIVATE_H__
-#define __CLUTTER_ACTOR_META_PRIVATE_H__
+#pragma once
#include
@@ -93,5 +92,3 @@ int _clutter_actor_meta_get_priority (ClutterActorMet
gboolean _clutter_actor_meta_is_internal (ClutterActorMeta *meta);
G_END_DECLS
-
-#endif /* __CLUTTER_ACTOR_META_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-actor-meta.h b/clutter/clutter/clutter-actor-meta.h
index e02a8ba2f..865bf8bbf 100644
--- a/clutter/clutter/clutter-actor-meta.h
+++ b/clutter/clutter/clutter-actor-meta.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_ACTOR_META_H__
-#define __CLUTTER_ACTOR_META_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -86,5 +85,3 @@ CLUTTER_EXPORT
ClutterActor * clutter_actor_meta_get_actor (ClutterActorMeta *meta);
G_END_DECLS
-
-#endif /* __CLUTTER_ACTOR_META_H__ */
diff --git a/clutter/clutter/clutter-actor-private.h b/clutter/clutter/clutter-actor-private.h
index a2b4b9f74..0c10a41f7 100644
--- a/clutter/clutter/clutter-actor-private.h
+++ b/clutter/clutter/clutter-actor-private.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_ACTOR_PRIVATE_H__
-#define __CLUTTER_ACTOR_PRIVATE_H__
+#pragma once
#include
#include
@@ -281,5 +280,3 @@ void clutter_actor_set_implicitly_grabbed (ClutterActor *actor,
gboolean is_implicitly_grabbed);
G_END_DECLS
-
-#endif /* __CLUTTER_ACTOR_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-actor.h b/clutter/clutter/clutter-actor.h
index 8070b17fe..af9bbb50f 100644
--- a/clutter/clutter/clutter-actor.h
+++ b/clutter/clutter/clutter-actor.h
@@ -22,8 +22,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_ACTOR_H__
-#define __CLUTTER_ACTOR_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -909,5 +908,3 @@ CLUTTER_EXPORT
void clutter_actor_invalidate_paint_volume (ClutterActor *self);
G_END_DECLS
-
-#endif /* __CLUTTER_ACTOR_H__ */
diff --git a/clutter/clutter/clutter-align-constraint.h b/clutter/clutter/clutter-align-constraint.h
index 8bf26c3b9..f1af47ac8 100644
--- a/clutter/clutter/clutter-align-constraint.h
+++ b/clutter/clutter/clutter-align-constraint.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_ALIGN_CONSTRAINT_H__
-#define __CLUTTER_ALIGN_CONSTRAINT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -71,5 +70,3 @@ CLUTTER_EXPORT
gfloat clutter_align_constraint_get_factor (ClutterAlignConstraint *align);
G_END_DECLS
-
-#endif /* __CLUTTER_ALIGN_CONSTRAINT_H__ */
diff --git a/clutter/clutter/clutter-animatable.h b/clutter/clutter/clutter-animatable.h
index 9e18d3e35..b4c9cdd3d 100644
--- a/clutter/clutter/clutter-animatable.h
+++ b/clutter/clutter/clutter-animatable.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_ANIMATABLE_H__
-#define __CLUTTER_ANIMATABLE_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -96,5 +95,3 @@ CLUTTER_EXPORT
ClutterActor * clutter_animatable_get_actor (ClutterAnimatable *animatable);
G_END_DECLS
-
-#endif /* __CLUTTER_ANIMATABLE_H__ */
diff --git a/clutter/clutter/clutter-autocleanups.h b/clutter/clutter/clutter-autocleanups.h
index 9c44f0d23..e1d7f9e32 100644
--- a/clutter/clutter/clutter-autocleanups.h
+++ b/clutter/clutter/clutter-autocleanups.h
@@ -21,8 +21,7 @@
*
*/
-#ifndef __CLUTTER_AUTO_CLEANUPS_H__
-#define __CLUTTER_AUTO_CLEANUPS_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -88,5 +87,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (ClutterPaintVolume, clutter_paint_volume_free)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ClutterPathNode, clutter_path_node_free)
#endif /* __GI_SCANNER__ */
-
-#endif /* __CLUTTER_AUTO_CLEANUPS_H__ */
diff --git a/clutter/clutter/clutter-backend-private.h b/clutter/clutter/clutter-backend-private.h
index 95e992ac0..5ae1062eb 100644
--- a/clutter/clutter/clutter-backend-private.h
+++ b/clutter/clutter/clutter-backend-private.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_BACKEND_PRIVATE_H__
-#define __CLUTTER_BACKEND_PRIVATE_H__
+#pragma once
#include
#include
@@ -129,5 +128,3 @@ CLUTTER_EXPORT
void clutter_backend_destroy (ClutterBackend *backend);
G_END_DECLS
-
-#endif /* __CLUTTER_BACKEND_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-backend.h b/clutter/clutter/clutter-backend.h
index 117fdc0fb..779562c40 100644
--- a/clutter/clutter/clutter-backend.h
+++ b/clutter/clutter/clutter-backend.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_BACKEND_H__
-#define __CLUTTER_BACKEND_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -74,5 +73,3 @@ CLUTTER_EXPORT
ClutterSeat * clutter_backend_get_default_seat (ClutterBackend *backend);
G_END_DECLS
-
-#endif /* __CLUTTER_BACKEND_H__ */
diff --git a/clutter/clutter/clutter-bezier.h b/clutter/clutter/clutter-bezier.h
index a58c589c2..357b868f3 100644
--- a/clutter/clutter/clutter-bezier.h
+++ b/clutter/clutter/clutter-bezier.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_BEZIER_H__
-#define __CLUTTER_BEZIER_H__
+#pragma once
#include
#include "clutter-types.h"
@@ -61,5 +60,3 @@ void _clutter_bezier_adjust (ClutterBezier *b,
guint _clutter_bezier_get_length (const ClutterBezier *b);
G_END_DECLS
-
-#endif /* __CLUTTER_BEZIER_H__ */
diff --git a/clutter/clutter/clutter-bin-layout.h b/clutter/clutter/clutter-bin-layout.h
index 6474c8dcc..34bebcbe6 100644
--- a/clutter/clutter/clutter-bin-layout.h
+++ b/clutter/clutter/clutter-bin-layout.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_BIN_LAYOUT_H__
-#define __CLUTTER_BIN_LAYOUT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -72,5 +71,3 @@ ClutterLayoutManager * clutter_bin_layout_new (ClutterBinAlignment x_align,
ClutterBinAlignment y_align);
G_END_DECLS
-
-#endif /* __CLUTTER_BIN_LAYOUT_H__ */
diff --git a/clutter/clutter/clutter-bind-constraint.h b/clutter/clutter/clutter-bind-constraint.h
index 319407ad7..2f3de8183 100644
--- a/clutter/clutter/clutter-bind-constraint.h
+++ b/clutter/clutter/clutter-bind-constraint.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_BIND_CONSTRAINT_H__
-#define __CLUTTER_BIND_CONSTRAINT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -65,5 +64,3 @@ CLUTTER_EXPORT
gfloat clutter_bind_constraint_get_offset (ClutterBindConstraint *constraint);
G_END_DECLS
-
-#endif /* __CLUTTER_BIND_CONSTRAINT_H__ */
diff --git a/clutter/clutter/clutter-binding-pool.h b/clutter/clutter/clutter-binding-pool.h
index 6d9337dc9..937569572 100644
--- a/clutter/clutter/clutter-binding-pool.h
+++ b/clutter/clutter/clutter-binding-pool.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_BINDING_POOL_H__
-#define __CLUTTER_BINDING_POOL_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -121,5 +120,3 @@ void clutter_binding_pool_unblock_action (ClutterBindingPool
const gchar *action_name);
G_END_DECLS
-
-#endif /* __CLUTTER_BINDING_POOL_H__ */
diff --git a/clutter/clutter/clutter-blur-effect.h b/clutter/clutter/clutter-blur-effect.h
index 7096a0ac3..8748f807c 100644
--- a/clutter/clutter/clutter-blur-effect.h
+++ b/clutter/clutter/clutter-blur-effect.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_BLUR_EFFECT_H__
-#define __CLUTTER_BLUR_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -47,5 +46,3 @@ CLUTTER_EXPORT
ClutterEffect *clutter_blur_effect_new (void);
G_END_DECLS
-
-#endif /* __CLUTTER_BLUR_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-blur-private.h b/clutter/clutter/clutter-blur-private.h
index cf7cfd2f5..f9a0c6d3a 100644
--- a/clutter/clutter/clutter-blur-private.h
+++ b/clutter/clutter/clutter-blur-private.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_BLUR_PRIVATE_H
-#define CLUTTER_BLUR_PRIVATE_H
+#pragma once
#include
@@ -36,5 +35,3 @@ CoglTexture * clutter_blur_get_texture (ClutterBlur *blur);
void clutter_blur_free (ClutterBlur *blur);
G_END_DECLS
-
-#endif /* CLUTTER_BLUR_PRIVATE_H */
diff --git a/clutter/clutter/clutter-box-layout.h b/clutter/clutter/clutter-box-layout.h
index a89f4a162..67f2d8898 100644
--- a/clutter/clutter/clutter-box-layout.h
+++ b/clutter/clutter/clutter-box-layout.h
@@ -25,8 +25,7 @@
* Thomas Wood
*/
-#ifndef __CLUTTER_BOX_LAYOUT_H__
-#define __CLUTTER_BOX_LAYOUT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -91,5 +90,3 @@ CLUTTER_EXPORT
gboolean clutter_box_layout_get_homogeneous (ClutterBoxLayout *layout);
G_END_DECLS
-
-#endif /* __CLUTTER_BOX_LAYOUT_H__ */
diff --git a/clutter/clutter/clutter-brightness-contrast-effect.h b/clutter/clutter/clutter-brightness-contrast-effect.h
index 3e69e2615..e2d3aabb9 100644
--- a/clutter/clutter/clutter-brightness-contrast-effect.h
+++ b/clutter/clutter/clutter-brightness-contrast-effect.h
@@ -22,8 +22,7 @@
* Joseph Scheuhammer
*/
-#ifndef __CLUTTER_BRIGHTNESS_CONTRAST_EFFECT_H__
-#define __CLUTTER_BRIGHTNESS_CONTRAST_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -76,5 +75,3 @@ void clutter_brightness_contrast_effect_get_contrast
float *blue);
G_END_DECLS
-
-#endif /* __CLUTTER_BRIGHTNESS_CONTRAST_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-cairo.h b/clutter/clutter/clutter-cairo.h
index fe4b71c95..3e4a14929 100644
--- a/clutter/clutter/clutter-cairo.h
+++ b/clutter/clutter/clutter-cairo.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_CAIRO_H__
-#define __CLUTTER_CAIRO_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -55,5 +54,3 @@ void clutter_cairo_set_source_color (cairo_t *cr,
const ClutterColor *color);
G_END_DECLS
-
-#endif /* __CLUTTER_CAIRO_H__ */
diff --git a/clutter/clutter/clutter-canvas.h b/clutter/clutter/clutter-canvas.h
index 055b1fdd8..4352cf67e 100644
--- a/clutter/clutter/clutter-canvas.h
+++ b/clutter/clutter/clutter-canvas.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_CANVAS_H__
-#define __CLUTTER_CANVAS_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -88,5 +87,3 @@ CLUTTER_EXPORT
float clutter_canvas_get_scale_factor (ClutterCanvas *canvas);
G_END_DECLS
-
-#endif /* __CLUTTER_CANVAS_H__ */
diff --git a/clutter/clutter/clutter-child-meta.h b/clutter/clutter/clutter-child-meta.h
index b49204c31..b2fcb626f 100644
--- a/clutter/clutter/clutter-child-meta.h
+++ b/clutter/clutter/clutter-child-meta.h
@@ -25,8 +25,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_CHILD_META_H__
-#define __CLUTTER_CHILD_META_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -76,5 +75,3 @@ CLUTTER_EXPORT
ClutterActor * clutter_child_meta_get_actor (ClutterChildMeta *data);
G_END_DECLS
-
-#endif /* __CLUTTER_CHILD_META_H__ */
diff --git a/clutter/clutter/clutter-click-action.h b/clutter/clutter/clutter-click-action.h
index 1cf5503b0..e9ab2441d 100644
--- a/clutter/clutter/clutter-click-action.h
+++ b/clutter/clutter/clutter-click-action.h
@@ -25,8 +25,7 @@
* Colin Walters
*/
-#ifndef __CLUTTER_CLICK_ACTION_H__
-#define __CLUTTER_CLICK_ACTION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -83,5 +82,3 @@ CLUTTER_EXPORT
void clutter_click_action_release (ClutterClickAction *action);
G_END_DECLS
-
-#endif /* __CLUTTER_CLICK_ACTION_H__ */
diff --git a/clutter/clutter/clutter-clone.h b/clutter/clutter/clutter-clone.h
index 8ff1020c5..9e36ededa 100644
--- a/clutter/clutter/clutter-clone.h
+++ b/clutter/clutter/clutter-clone.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_CLONE_H__
-#define __CLUTTER_CLONE_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -74,5 +73,3 @@ CLUTTER_EXPORT
ClutterActor * clutter_clone_get_source (ClutterClone *self);
G_END_DECLS
-
-#endif /* __CLUTTER_CLONE_H__ */
diff --git a/clutter/clutter/clutter-color-state.h b/clutter/clutter/clutter-color-state.h
index 5046253cd..9497b2824 100644
--- a/clutter/clutter/clutter-color-state.h
+++ b/clutter/clutter/clutter-color-state.h
@@ -22,8 +22,7 @@
* Naveen Kumar
*/
-#ifndef CLUTTER_COLOR_STATE_H
-#define CLUTTER_COLOR_STATE_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -46,5 +45,3 @@ CLUTTER_EXPORT
ClutterColorspace clutter_color_state_get_colorspace (ClutterColorState *color_state);
G_END_DECLS
-
-#endif /* CLUTTER_COLOR_STATE_H */
diff --git a/clutter/clutter/clutter-color-static.h b/clutter/clutter/clutter-color-static.h
index 766864c88..fa3f16cfc 100644
--- a/clutter/clutter/clutter-color-static.h
+++ b/clutter/clutter/clutter-color-static.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_COLOR_STATIC_H__
-#define __CLUTTER_COLOR_STATIC_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -75,5 +74,3 @@
#define CLUTTER_COLOR_Aluminium6 (__CLUTTER_COLOR_SYM (ALUMINIUM_6))
#define CLUTTER_COLOR_Transparent (__CLUTTER_COLOR_SYM (TRANSPARENT))
-
-#endif /* __CLUTTER_COLOR_STATIC_H__ */
diff --git a/clutter/clutter/clutter-color.h b/clutter/clutter/clutter-color.h
index 99ef088a5..054eecac2 100644
--- a/clutter/clutter/clutter-color.h
+++ b/clutter/clutter/clutter-color.h
@@ -23,8 +23,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_COLOR_H__
-#define __CLUTTER_COLOR_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -195,5 +194,3 @@ CLUTTER_EXPORT
const ClutterColor *clutter_color_get_static (ClutterStaticColor color);
G_END_DECLS
-
-#endif /* __CLUTTER_COLOR_H__ */
diff --git a/clutter/clutter/clutter-colorize-effect.h b/clutter/clutter/clutter-colorize-effect.h
index 817d58a77..ba8b56cdc 100644
--- a/clutter/clutter/clutter-colorize-effect.h
+++ b/clutter/clutter/clutter-colorize-effect.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_COLORIZE_EFFECT_H__
-#define __CLUTTER_COLORIZE_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -55,5 +54,3 @@ void clutter_colorize_effect_get_tint (ClutterColorizeEffect *effect,
ClutterColor *tint);
G_END_DECLS
-
-#endif /* __CLUTTER_COLORIZE_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-constraint-private.h b/clutter/clutter/clutter-constraint-private.h
index 5fbddef00..1a0774a05 100644
--- a/clutter/clutter/clutter-constraint-private.h
+++ b/clutter/clutter/clutter-constraint-private.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_CONSTRAINT_PRIVATE_H__
-#define __CLUTTER_CONSTRAINT_PRIVATE_H__
+#pragma once
#include "clutter-constraint.h"
@@ -31,5 +30,3 @@ gboolean clutter_constraint_update_allocation (ClutterConstraint *constraint,
ClutterActorBox *allocation);
G_END_DECLS
-
-#endif /* __CLUTTER_CONSTRAINT_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-constraint.h b/clutter/clutter/clutter-constraint.h
index 1799795f9..86f374932 100644
--- a/clutter/clutter/clutter-constraint.h
+++ b/clutter/clutter/clutter-constraint.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_CONSTRAINT_H__
-#define __CLUTTER_CONSTRAINT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -114,5 +113,3 @@ CLUTTER_EXPORT
gboolean clutter_actor_has_constraints (ClutterActor *self);
G_END_DECLS
-
-#endif /* __CLUTTER_CONSTRAINT_H__ */
diff --git a/clutter/clutter/clutter-container-private.h b/clutter/clutter/clutter-container-private.h
index d619a6531..a029a39fe 100644
--- a/clutter/clutter/clutter-container-private.h
+++ b/clutter/clutter/clutter-container-private.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_CONTAINER_PRIVATE_H__
-#define __CLUTTER_CONTAINER_PRIVATE_H__
+#pragma once
#include
@@ -32,5 +31,3 @@ void _clutter_container_emit_actor_removed (ClutterContainer *container,
ClutterActor *actor);
G_END_DECLS
-
-#endif /* __CLUTTER_CONTAINER_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-container.h b/clutter/clutter/clutter-container.h
index 14431fef7..0beac7730 100644
--- a/clutter/clutter/clutter-container.h
+++ b/clutter/clutter/clutter-container.h
@@ -24,8 +24,7 @@
* Author: Emmanuele Bassi
*/
-#ifndef __CLUTTER_CONTAINER_H__
-#define __CLUTTER_CONTAINER_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -150,5 +149,3 @@ void clutter_container_child_notify (Clutter
GParamSpec *pspec);
G_END_DECLS
-
-#endif /* __CLUTTER_CONTAINER_H__ */
diff --git a/clutter/clutter/clutter-content-private.h b/clutter/clutter/clutter-content-private.h
index 1654b3bbf..b6922ed27 100644
--- a/clutter/clutter/clutter-content-private.h
+++ b/clutter/clutter/clutter-content-private.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_CONTENT_PRIVATE_H__
-#define __CLUTTER_CONTENT_PRIVATE_H__
+#pragma once
#include
@@ -40,5 +39,3 @@ void _clutter_content_paint_content (ClutterContent *co
ClutterPaintContext *paint_context);
G_END_DECLS
-
-#endif /* __CLUTTER_CONTENT_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-content.h b/clutter/clutter/clutter-content.h
index 2118858e1..f03c96aa0 100644
--- a/clutter/clutter/clutter-content.h
+++ b/clutter/clutter/clutter-content.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_CONTENT_H__
-#define __CLUTTER_CONTENT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -89,5 +88,3 @@ CLUTTER_EXPORT
void clutter_content_invalidate_size (ClutterContent *content);
G_END_DECLS
-
-#endif /* __CLUTTER_CONTENT_H__ */
diff --git a/clutter/clutter/clutter-damage-history.h b/clutter/clutter/clutter-damage-history.h
index b249d2e17..33b296254 100644
--- a/clutter/clutter/clutter-damage-history.h
+++ b/clutter/clutter/clutter-damage-history.h
@@ -16,8 +16,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_DAMAGE_HISTORY_H
-#define CLUTTER_DAMAGE_HISTORY_H
+#pragma once
#include
#include
@@ -46,5 +45,3 @@ void clutter_damage_history_step (ClutterDamageHistory *history);
CLUTTER_EXPORT
const cairo_region_t * clutter_damage_history_lookup (ClutterDamageHistory *history,
int age);
-
-#endif /* CLUTTER_DAMAGE_HISTORY_H */
diff --git a/clutter/clutter/clutter-debug.h b/clutter/clutter/clutter-debug.h
index 9d0c685ed..0db609e05 100644
--- a/clutter/clutter/clutter-debug.h
+++ b/clutter/clutter/clutter-debug.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_DEBUG_H__
-#define __CLUTTER_DEBUG_H__
+#pragma once
#include
#include "clutter-main.h"
@@ -49,5 +48,3 @@ void _clutter_debug_message (const char *format,
...) G_GNUC_PRINTF (1, 2);
G_END_DECLS
-
-#endif /* __CLUTTER_DEBUG_H__ */
diff --git a/clutter/clutter/clutter-deform-effect.h b/clutter/clutter/clutter-deform-effect.h
index 74534d979..7a58e1a72 100644
--- a/clutter/clutter/clutter-deform-effect.h
+++ b/clutter/clutter/clutter-deform-effect.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_DEFORM_EFFECT_H__
-#define __CLUTTER_DEFORM_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -94,5 +93,3 @@ CLUTTER_EXPORT
void clutter_deform_effect_invalidate (ClutterDeformEffect *effect);
G_END_DECLS
-
-#endif /* __CLUTTER_DEFORM_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-deprecated.h b/clutter/clutter/clutter-deprecated.h
index 8d790660c..788673ef3 100644
--- a/clutter/clutter/clutter-deprecated.h
+++ b/clutter/clutter/clutter-deprecated.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_DEPRECATED_H__
-#define __CLUTTER_DEPRECATED_H__
+#pragma once
#define __CLUTTER_DEPRECATED_H_INSIDE__
@@ -7,4 +6,3 @@
#undef __CLUTTER_DEPRECATED_H_INSIDE__
-#endif /* __CLUTTER_DEPRECATED_H__ */
diff --git a/clutter/clutter/clutter-desaturate-effect.h b/clutter/clutter/clutter-desaturate-effect.h
index f4c17b1dc..4b940bd2b 100644
--- a/clutter/clutter/clutter-desaturate-effect.h
+++ b/clutter/clutter/clutter-desaturate-effect.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_DESATURATE_EFFECT_H__
-#define __CLUTTER_DESATURATE_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -53,5 +52,3 @@ CLUTTER_EXPORT
gdouble clutter_desaturate_effect_get_factor (ClutterDesaturateEffect *effect);
G_END_DECLS
-
-#endif /* __CLUTTER_DESATURATE_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-easing.h b/clutter/clutter/clutter-easing.h
index f7e6dccfb..65c6a5d56 100644
--- a/clutter/clutter/clutter-easing.h
+++ b/clutter/clutter/clutter-easing.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_EASING_H__
-#define __CLUTTER_EASING_H__
+#pragma once
#include
@@ -138,5 +137,3 @@ double clutter_ease_cubic_bezier (double t,
double y_2);
G_END_DECLS
-
-#endif /* __CLUTTER_EASING_H__ */
diff --git a/clutter/clutter/clutter-effect-private.h b/clutter/clutter/clutter-effect-private.h
index 85a32552f..e117a6d3a 100644
--- a/clutter/clutter/clutter-effect-private.h
+++ b/clutter/clutter/clutter-effect-private.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_EFFECT_PRIVATE_H__
-#define __CLUTTER_EFFECT_PRIVATE_H__
+#pragma once
#include
@@ -16,5 +15,3 @@ void _clutter_effect_pick (ClutterEffect
ClutterPickContext *pick_context);
G_END_DECLS
-
-#endif /* __CLUTTER_EFFECT_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-effect.h b/clutter/clutter/clutter-effect.h
index f3cbde99f..8dd11f5f5 100644
--- a/clutter/clutter/clutter-effect.h
+++ b/clutter/clutter/clutter-effect.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_EFFECT_H__
-#define __CLUTTER_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -123,5 +122,3 @@ CLUTTER_EXPORT
gboolean clutter_actor_has_effects (ClutterActor *self);
G_END_DECLS
-
-#endif /* __CLUTTER_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-enum-types.h.in b/clutter/clutter/clutter-enum-types.h.in
index 17f9ee644..569a764ba 100644
--- a/clutter/clutter/clutter-enum-types.h.in
+++ b/clutter/clutter/clutter-enum-types.h.in
@@ -1,6 +1,5 @@
/*** BEGIN file-header ***/
-#ifndef __CLUTTER_ENUM_TYPES_H__
-#define __CLUTTER_ENUM_TYPES_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -25,5 +24,4 @@ CLUTTER_EXPORT GType @enum_name@_get_type (void) G_GNUC_CONST;
/*** BEGIN file-tail ***/
G_END_DECLS
-#endif /* !__CLUTTER_ENUM_TYPES_H__ */
/*** END file-tail ***/
diff --git a/clutter/clutter/clutter-enums.h b/clutter/clutter/clutter-enums.h
index d13a55124..43386366c 100644
--- a/clutter/clutter/clutter-enums.h
+++ b/clutter/clutter/clutter-enums.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_ENUMS_H__
-#define __CLUTTER_ENUMS_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -1471,5 +1470,3 @@ typedef enum
} ClutterGrabState;
G_END_DECLS
-
-#endif /* __CLUTTER_ENUMS_H__ */
diff --git a/clutter/clutter/clutter-event-private.h b/clutter/clutter/clutter-event-private.h
index dcee65a8e..cb89421a3 100644
--- a/clutter/clutter/clutter-event-private.h
+++ b/clutter/clutter/clutter-event-private.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_EVENT_PRIVATE_H__
-#define __CLUTTER_EVENT_PRIVATE_H__
+#pragma once
#include
@@ -42,5 +41,3 @@ CLUTTER_EXPORT
const char * clutter_event_get_name (const ClutterEvent *event);
G_END_DECLS
-
-#endif /* __CLUTTER_EVENT_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-event.h b/clutter/clutter/clutter-event.h
index 1efbce325..dbb8167e1 100644
--- a/clutter/clutter/clutter-event.h
+++ b/clutter/clutter/clutter-event.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_EVENT_H__
-#define __CLUTTER_EVENT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -817,5 +816,3 @@ gboolean clutter_event_get_relative_motion (const ClutterEvent *
G_END_DECLS
-
-#endif /* __CLUTTER_EVENT_H__ */
diff --git a/clutter/clutter/clutter-fixed-layout.h b/clutter/clutter/clutter-fixed-layout.h
index 8aa01dfcb..095acfa5a 100644
--- a/clutter/clutter/clutter-fixed-layout.h
+++ b/clutter/clutter/clutter-fixed-layout.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_FIXED_LAYOUT_H__
-#define __CLUTTER_FIXED_LAYOUT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -68,5 +67,3 @@ CLUTTER_EXPORT
ClutterLayoutManager *clutter_fixed_layout_new (void);
G_END_DECLS
-
-#endif /* __CLUTTER_FIXED_LAYOUT_H__ */
diff --git a/clutter/clutter/clutter-flatten-effect.h b/clutter/clutter/clutter-flatten-effect.h
index 03b2df6eb..c38f60102 100644
--- a/clutter/clutter/clutter-flatten-effect.h
+++ b/clutter/clutter/clutter-flatten-effect.h
@@ -22,8 +22,7 @@
* Neil Roberts
*/
-#ifndef __CLUTTER_FLATTEN_EFFECT_H__
-#define __CLUTTER_FLATTEN_EFFECT_H__
+#pragma once
#include
@@ -69,5 +68,3 @@ GType _clutter_flatten_effect_get_type (void) G_GNUC_CONST;
ClutterEffect *_clutter_flatten_effect_new (void);
G_END_DECLS
-
-#endif /* __CLUTTER_FLATTEN_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-flow-layout.h b/clutter/clutter/clutter-flow-layout.h
index a1de4684f..42d2be399 100644
--- a/clutter/clutter/clutter-flow-layout.h
+++ b/clutter/clutter/clutter-flow-layout.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_FLOW_LAYOUT_H__
-#define __CLUTTER_FLOW_LAYOUT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -115,5 +114,3 @@ CLUTTER_EXPORT
gboolean clutter_flow_layout_get_snap_to_grid (ClutterFlowLayout *layout);
G_END_DECLS
-
-#endif /* __CLUTTER_FLOW_LAYOUT_H__ */
diff --git a/clutter/clutter/clutter-frame-clock.h b/clutter/clutter/clutter-frame-clock.h
index 6fd5de47a..93ebc9438 100644
--- a/clutter/clutter/clutter-frame-clock.h
+++ b/clutter/clutter/clutter-frame-clock.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_FRAME_CLOCK_H
-#define CLUTTER_FRAME_CLOCK_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -96,5 +95,3 @@ void clutter_frame_clock_record_flip_time (ClutterFrameClock *frame_clock,
int64_t flip_time_us);
GString * clutter_frame_clock_get_max_render_time_debug_info (ClutterFrameClock *frame_clock);
-
-#endif /* CLUTTER_FRAME_CLOCK_H */
diff --git a/clutter/clutter/clutter-frame-private.h b/clutter/clutter/clutter-frame-private.h
index 1eceb8bc0..0a0226b0a 100644
--- a/clutter/clutter/clutter-frame-private.h
+++ b/clutter/clutter/clutter-frame-private.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_FRAME_PRIVATE_H
-#define CLUTTER_FRAME_PRIVATE_H
+#pragma once
#include "clutter/clutter-frame.h"
@@ -45,5 +44,3 @@ gpointer clutter_frame_new (size_t size,
((FrameType *) (clutter_frame_new (sizeof (FrameType), release)))
ClutterFrameResult clutter_frame_get_result (ClutterFrame *frame);
-
-#endif /* CLUTTER_FRAME_PRIVATE_H */
diff --git a/clutter/clutter/clutter-frame.h b/clutter/clutter/clutter-frame.h
index 6bac3f4e4..1d5660d68 100644
--- a/clutter/clutter/clutter-frame.h
+++ b/clutter/clutter/clutter-frame.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_FRAME_H
-#define CLUTTER_FRAME_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -56,5 +55,3 @@ CLUTTER_EXPORT
gboolean clutter_frame_has_result (ClutterFrame *frame);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ClutterFrame, clutter_frame_unref)
-
-#endif /* CLUTTER_FRAME_H */
diff --git a/clutter/clutter/clutter-gesture-action-private.h b/clutter/clutter/clutter-gesture-action-private.h
index cd804abc7..fb59f17d5 100644
--- a/clutter/clutter/clutter-gesture-action-private.h
+++ b/clutter/clutter/clutter-gesture-action-private.h
@@ -19,13 +19,10 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_GESTURE_ACTION_PRIVATE_H__
-#define __CLUTTER_GESTURE_ACTION_PRIVATE_H__
+#pragma once
#include
G_BEGIN_DECLS
G_END_DECLS
-
-#endif /* __CLUTTER_GESTURE_ACTION_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-gesture-action.h b/clutter/clutter/clutter-gesture-action.h
index 34b94e661..9dfdfbe8f 100644
--- a/clutter/clutter/clutter-gesture-action.h
+++ b/clutter/clutter/clutter-gesture-action.h
@@ -23,8 +23,7 @@
* Tomeu Vizoso
*/
-#ifndef __CLUTTER_GESTURE_ACTION_H__
-#define __CLUTTER_GESTURE_ACTION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -143,5 +142,3 @@ void clutter_gesture_action_get_threshold_trigger_dis
float *y);
G_END_DECLS
-
-#endif /* __CLUTTER_GESTURE_ACTION_H__ */
diff --git a/clutter/clutter/clutter-grab.h b/clutter/clutter/clutter-grab.h
index ca3324b68..73ac52096 100644
--- a/clutter/clutter/clutter-grab.h
+++ b/clutter/clutter/clutter-grab.h
@@ -21,8 +21,7 @@
* Author: Carlos Garnacho
*/
-#ifndef CLUTTER_GRAB_H
-#define CLUTTER_GRAB_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -47,5 +46,3 @@ ClutterGrab * clutter_grab_ref (ClutterGrab *grab);
CLUTTER_EXPORT
void clutter_grab_unref (ClutterGrab *grab);
-
-#endif /* CLUTTER_GRAB_H */
diff --git a/clutter/clutter/clutter-graphene.h b/clutter/clutter/clutter-graphene.h
index ddea3ca4a..b4ee29d3b 100644
--- a/clutter/clutter/clutter-graphene.h
+++ b/clutter/clutter/clutter-graphene.h
@@ -22,9 +22,6 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_GRAPHENE_H
-#define CLUTTER_GRAPHENE_H
+#pragma once
void clutter_graphene_init (void);
-
-#endif
diff --git a/clutter/clutter/clutter-grid-layout.h b/clutter/clutter/clutter-grid-layout.h
index a9a9d7afb..67b017edc 100644
--- a/clutter/clutter/clutter-grid-layout.h
+++ b/clutter/clutter/clutter-grid-layout.h
@@ -26,8 +26,7 @@
* Matthias Clasen
*/
-#ifndef __CLUTTER_GRID_LAYOUT_H__
-#define __CLUTTER_GRID_LAYOUT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -145,5 +144,3 @@ CLUTTER_EXPORT
gboolean clutter_grid_layout_get_row_homogeneous (ClutterGridLayout *layout);
G_END_DECLS
-
-#endif /* __CLUTTER_GRID_LAYOUT_H__ */
diff --git a/clutter/clutter/clutter-image.h b/clutter/clutter/clutter-image.h
index ad1d12f21..26d27962b 100644
--- a/clutter/clutter/clutter-image.h
+++ b/clutter/clutter/clutter-image.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_IMAGE_H__
-#define __CLUTTER_IMAGE_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -81,5 +80,3 @@ CLUTTER_EXPORT
CoglTexture * clutter_image_get_texture (ClutterImage *image);
G_END_DECLS
-
-#endif /* __CLUTTER_IMAGE_H__ */
diff --git a/clutter/clutter/clutter-input-device-private.h b/clutter/clutter/clutter-input-device-private.h
index 26dd2f11b..62175b041 100644
--- a/clutter/clutter/clutter-input-device-private.h
+++ b/clutter/clutter/clutter-input-device-private.h
@@ -21,8 +21,7 @@
* Author: Emmanuele Bassi
*/
-#ifndef CLUTTER_INPUT_DEVICE_PRIVATE_H
-#define CLUTTER_INPUT_DEVICE_PRIVATE_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -57,5 +56,3 @@ struct _ClutterInputDevice
ClutterVirtualInputDevice *accessibility_virtual_device;
ClutterPtrA11yData *ptr_a11y_data;
};
-
-#endif /* CLUTTER_INPUT_DEVICE_PRIVATE_H */
diff --git a/clutter/clutter/clutter-input-device-tool.h b/clutter/clutter/clutter-input-device-tool.h
index df5c8201d..d2eb3ec49 100644
--- a/clutter/clutter/clutter-input-device-tool.h
+++ b/clutter/clutter/clutter-input-device-tool.h
@@ -21,8 +21,7 @@
* Author: Carlos Garnacho
*/
-#ifndef __CLUTTER_INPUT_DEVICE_TOOL_H__
-#define __CLUTTER_INPUT_DEVICE_TOOL_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -68,5 +67,3 @@ CLUTTER_EXPORT
ClutterInputAxisFlags clutter_input_device_tool_get_axes (ClutterInputDeviceTool *tool);
G_END_DECLS
-
-#endif /* __CLUTTER_INPUT_DEVICE_TOOL_H__ */
diff --git a/clutter/clutter/clutter-input-device.h b/clutter/clutter/clutter-input-device.h
index 5d7ecbfe1..ab3a64a25 100644
--- a/clutter/clutter/clutter-input-device.h
+++ b/clutter/clutter/clutter-input-device.h
@@ -21,8 +21,7 @@
* Author: Emmanuele Bassi
*/
-#ifndef __CLUTTER_INPUT_DEVICE_H__
-#define __CLUTTER_INPUT_DEVICE_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -127,5 +126,3 @@ gboolean clutter_input_device_get_dimensions (ClutterInputDevice *device,
unsigned int *height);
G_END_DECLS
-
-#endif /* __CLUTTER_INPUT_DEVICE_H__ */
diff --git a/clutter/clutter/clutter-input-focus-private.h b/clutter/clutter/clutter-input-focus-private.h
index 5bc7e9494..60dc034fc 100644
--- a/clutter/clutter/clutter-input-focus-private.h
+++ b/clutter/clutter/clutter-input-focus-private.h
@@ -19,8 +19,7 @@
* Author: Carlos Garnacho
*/
-#ifndef __CLUTTER_INPUT_FOCUS_PRIVATE_H__
-#define __CLUTTER_INPUT_FOCUS_PRIVATE_H__
+#pragma once
void clutter_input_focus_focus_in (ClutterInputFocus *focus,
ClutterInputMethod *method);
@@ -37,5 +36,3 @@ void clutter_input_focus_set_preedit_text (ClutterInputFocus *focus,
const gchar *preedit,
unsigned int cursor,
unsigned int anchor);
-
-#endif /* __CLUTTER_INPUT_FOCUS_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-input-focus.h b/clutter/clutter/clutter-input-focus.h
index b9c5557c5..a315d9c4c 100644
--- a/clutter/clutter/clutter-input-focus.h
+++ b/clutter/clutter/clutter-input-focus.h
@@ -19,8 +19,7 @@
* Author: Carlos Garnacho
*/
-#ifndef __CLUTTER_INPUT_FOCUS_H__
-#define __CLUTTER_INPUT_FOCUS_H__
+#pragma once
#include
@@ -86,5 +85,3 @@ void clutter_input_focus_set_can_show_preedit (ClutterInputFocus *focus,
CLUTTER_EXPORT
void clutter_input_focus_set_input_panel_state (ClutterInputFocus *focus,
ClutterInputPanelState state);
-
-#endif /* __CLUTTER_INPUT_FOCUS_H__ */
diff --git a/clutter/clutter/clutter-input-method-private.h b/clutter/clutter/clutter-input-method-private.h
index 61e575e7e..08a0da989 100644
--- a/clutter/clutter/clutter-input-method-private.h
+++ b/clutter/clutter/clutter-input-method-private.h
@@ -19,8 +19,7 @@
* Author: Carlos Garnacho
*/
-#ifndef __CLUTTER_INPUT_METHOD_PRIVATE_H__
-#define __CLUTTER_INPUT_METHOD_PRIVATE_H__
+#pragma once
ClutterInputFocus * clutter_input_method_get_focus (ClutterInputMethod *method);
@@ -42,5 +41,3 @@ gboolean clutter_input_method_filter_key_event (ClutterInputMethod *method,
const ClutterKeyEvent *key);
void clutter_input_method_toggle_input_panel (ClutterInputMethod *method);
-
-#endif /* __CLUTTER_INPUT_METHOD_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-input-method.h b/clutter/clutter/clutter-input-method.h
index 34d48ec5e..c90a6f94c 100644
--- a/clutter/clutter/clutter-input-method.h
+++ b/clutter/clutter/clutter-input-method.h
@@ -19,8 +19,7 @@
* Author: Carlos Garnacho
*/
-#ifndef __CLUTTER_INPUT_METHOD_H__
-#define __CLUTTER_INPUT_METHOD_H__
+#pragma once
#include
@@ -95,5 +94,3 @@ void clutter_input_method_forward_key (ClutterInputMethod *im,
uint32_t state,
uint64_t time_,
gboolean press);
-
-#endif /* __CLUTTER_INPUT_METHOD_H__ */
diff --git a/clutter/clutter/clutter-input-only-action.h b/clutter/clutter/clutter-input-only-action.h
index 22cb2e205..f86e108dd 100644
--- a/clutter/clutter/clutter-input-only-action.h
+++ b/clutter/clutter/clutter-input-only-action.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_INPUT_ONLY_ACTION_H
-#define CLUTTER_INPUT_ONLY_ACTION_H
+#pragma once
#include "clutter/clutter.h"
@@ -34,5 +33,3 @@ G_DECLARE_FINAL_TYPE (ClutterInputOnlyAction, clutter_input_only_action,
ClutterInputOnlyAction * clutter_input_only_action_new (ClutterInputOnlyHandleEvent handle_event,
gpointer user_data,
GDestroyNotify destroy);
-
-#endif /* CLUTTER_INPUT_ONLY_ACTION_H */
diff --git a/clutter/clutter/clutter-input-only-actor.h b/clutter/clutter/clutter-input-only-actor.h
index 6217915c0..1c45674a2 100644
--- a/clutter/clutter/clutter-input-only-actor.h
+++ b/clutter/clutter/clutter-input-only-actor.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_INPUT_ONLY_ACTOR_H
-#define CLUTTER_INPUT_ONLY_ACTOR_H
+#pragma once
#include "clutter/clutter.h"
#include "clutter/clutter-stage-private.h"
@@ -32,5 +31,3 @@ G_DECLARE_FINAL_TYPE (ClutterInputOnlyActor, clutter_input_only_actor,
ClutterInputOnlyActor * clutter_input_only_actor_new (ClutterEventHandler event_handler,
gpointer user_data,
GDestroyNotify destroy);
-
-#endif /* CLUTTER_INPUT_ONLY_ACTOR_H */
diff --git a/clutter/clutter/clutter-input-pointer-a11y-private.h b/clutter/clutter/clutter-input-pointer-a11y-private.h
index d7f465501..d8900cde4 100644
--- a/clutter/clutter/clutter-input-pointer-a11y-private.h
+++ b/clutter/clutter/clutter-input-pointer-a11y-private.h
@@ -19,8 +19,7 @@
* Author: Olivier Fourdan
*/
-#ifndef __CLUTTER_INPUT_POINTER_A11Y_H__
-#define __CLUTTER_INPUT_POINTER_A11Y_H__
+#pragma once
#include
#include "clutter-enum-types.h"
@@ -47,5 +46,3 @@ void clutter_input_pointer_a11y_update (ClutterInputDevice *device,
const ClutterEvent *event);
G_END_DECLS
-
-#endif /* __CLUTTER_INPUT_POINTER_A11Y_H__ */
diff --git a/clutter/clutter/clutter-interval.h b/clutter/clutter/clutter-interval.h
index 15c74dc1d..f7f08df48 100644
--- a/clutter/clutter/clutter-interval.h
+++ b/clutter/clutter/clutter-interval.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_INTERVAL_H__
-#define __CLUTTER_INTERVAL_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -136,5 +135,3 @@ CLUTTER_EXPORT
gboolean clutter_interval_is_valid (ClutterInterval *interval);
G_END_DECLS
-
-#endif /* __CLUTTER_INTERVAL_H__ */
diff --git a/clutter/clutter/clutter-keyframe-transition.h b/clutter/clutter/clutter-keyframe-transition.h
index 5f514cfa2..e3d33d78a 100644
--- a/clutter/clutter/clutter-keyframe-transition.h
+++ b/clutter/clutter/clutter-keyframe-transition.h
@@ -21,8 +21,7 @@
* Author: Emmanuele Bassi
*/
-#ifndef __CLUTTER_KEYFRAME_TRANSITION_H__
-#define __CLUTTER_KEYFRAME_TRANSITION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -106,5 +105,3 @@ CLUTTER_EXPORT
void clutter_keyframe_transition_clear (ClutterKeyframeTransition *transition);
G_END_DECLS
-
-#endif /* __CLUTTER_KEYFRAME_TRANSITION_H__ */
diff --git a/clutter/clutter/clutter-keymap-private.h b/clutter/clutter/clutter-keymap-private.h
index 2268e63f2..786b21f1b 100644
--- a/clutter/clutter/clutter-keymap-private.h
+++ b/clutter/clutter/clutter-keymap-private.h
@@ -18,8 +18,7 @@
*
*/
-#ifndef CLUTTER_KEYMAP_PRIVATE_H
-#define CLUTTER_KEYMAP_PRIVATE_H
+#pragma once
#include "clutter/clutter-keymap.h"
@@ -27,5 +26,3 @@ CLUTTER_EXPORT
void clutter_keymap_set_lock_modifier_state (ClutterKeymap *keymap,
gboolean caps_lock_state,
gboolean num_lock_state);
-
-#endif /* CLUTTER_KEYMAP_PRIVATE_H */
diff --git a/clutter/clutter/clutter-keymap.h b/clutter/clutter/clutter-keymap.h
index 3e317f6a1..03a165d14 100644
--- a/clutter/clutter/clutter-keymap.h
+++ b/clutter/clutter/clutter-keymap.h
@@ -19,8 +19,7 @@
* Author: Carlos Garnacho
*/
-#ifndef CLUTTER_KEYMAP_H
-#define CLUTTER_KEYMAP_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -54,5 +53,3 @@ CLUTTER_EXPORT
gboolean clutter_keymap_get_caps_lock_state (ClutterKeymap *keymap);
PangoDirection clutter_keymap_get_direction (ClutterKeymap *keymap);
-
-#endif /* CLUTTER_KEYMAP_H */
diff --git a/clutter/clutter/clutter-keysyms-update.pl b/clutter/clutter/clutter-keysyms-update.pl
index a37598140..13e8df2a2 100755
--- a/clutter/clutter/clutter-keysyms-update.pl
+++ b/clutter/clutter/clutter-keysyms-update.pl
@@ -94,8 +94,7 @@ print OUT_KEYSYMS<)
close IN_XF86KEYSYM;
-
-print OUT_KEYSYMS< can be included directly."
@@ -40,5 +40,3 @@ CLUTTER_EXPORT
char * clutter_keyval_name (unsigned int keyval);
G_END_DECLS
-
-#endif /* __CLUTTER_KEYVAL_H__ */
diff --git a/clutter/clutter/clutter-layout-manager.h b/clutter/clutter/clutter-layout-manager.h
index 29329f25a..ef6bbd494 100644
--- a/clutter/clutter/clutter-layout-manager.h
+++ b/clutter/clutter/clutter-layout-manager.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_LAYOUT_MANAGER_H__
-#define __CLUTTER_LAYOUT_MANAGER_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -180,5 +179,3 @@ void clutter_layout_manager_child_get_property (ClutterLayoutMa
GValue *value);
G_END_DECLS
-
-#endif /* __CLUTTER_LAYOUT_MANAGER_H__ */
diff --git a/clutter/clutter/clutter-layout-meta.h b/clutter/clutter/clutter-layout-meta.h
index d8a5d5f23..6a26076b1 100644
--- a/clutter/clutter/clutter-layout-meta.h
+++ b/clutter/clutter/clutter-layout-meta.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_LAYOUT_META_H__
-#define __CLUTTER_LAYOUT_META_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -74,5 +73,3 @@ CLUTTER_EXPORT
ClutterLayoutManager *clutter_layout_meta_get_manager (ClutterLayoutMeta *data);
G_END_DECLS
-
-#endif /* __CLUTTER_LAYOUT_META_H__ */
diff --git a/clutter/clutter/clutter-macros.h b/clutter/clutter/clutter-macros.h
index a544afd5c..d42dd42d3 100644
--- a/clutter/clutter/clutter-macros.h
+++ b/clutter/clutter/clutter-macros.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_MACROS_H__
-#define __CLUTTER_MACROS_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -77,5 +76,3 @@
* for testability purposes
*/
#define CLUTTER_EXPORT_TEST CLUTTER_EXPORT
-
-#endif /* __CLUTTER_MACROS_H__ */
diff --git a/clutter/clutter/clutter-main.h b/clutter/clutter/clutter-main.h
index 5b1ed7e8c..9657b1717 100644
--- a/clutter/clutter/clutter-main.h
+++ b/clutter/clutter/clutter-main.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_MAIN_H__
-#define __CLUTTER_MAIN_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -154,5 +153,3 @@ CLUTTER_EXPORT
ClutterTextDirection clutter_get_text_direction (void);
G_END_DECLS
-
-#endif /* _CLUTTER_MAIN_H__ */
diff --git a/clutter/clutter/clutter-mutter.h b/clutter/clutter/clutter-mutter.h
index 9fec1c008..23425eb73 100644
--- a/clutter/clutter/clutter-mutter.h
+++ b/clutter/clutter/clutter-mutter.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef __CLUTTER_MUTTER_H__
-#define __CLUTTER_MUTTER_H__
+#pragma once
#define __CLUTTER_H_INSIDE__
@@ -141,5 +140,3 @@ void clutter_actor_get_relative_transformation_matrix (ClutterActor *self,
graphene_matrix_t *matrix);
#undef __CLUTTER_H_INSIDE__
-
-#endif /* __CLUTTER_MUTTER_H__ */
diff --git a/clutter/clutter/clutter-offscreen-effect-private.h b/clutter/clutter/clutter-offscreen-effect-private.h
index a5249dad3..4aad5af8a 100644
--- a/clutter/clutter/clutter-offscreen-effect-private.h
+++ b/clutter/clutter/clutter-offscreen-effect-private.h
@@ -1,10 +1,7 @@
-#ifndef __CLUTTER_OFFSCREEN_EFFECT_PRIVATE_H__
-#define __CLUTTER_OFFSCREEN_EFFECT_PRIVATE_H__
+#pragma once
#include
G_BEGIN_DECLS
G_END_DECLS
-
-#endif /* __CLUTTER_OFFSCREEN_EFFECT_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-offscreen-effect.h b/clutter/clutter/clutter-offscreen-effect.h
index dedb9443c..0ed0ff42d 100644
--- a/clutter/clutter/clutter-offscreen-effect.h
+++ b/clutter/clutter/clutter-offscreen-effect.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_OFFSCREEN_EFFECT_H__
-#define __CLUTTER_OFFSCREEN_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -100,5 +99,3 @@ gboolean clutter_offscreen_effect_get_target_size (ClutterOffscree
gfloat *height);
G_END_DECLS
-
-#endif /* __CLUTTER_OFFSCREEN_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-page-turn-effect.h b/clutter/clutter/clutter-page-turn-effect.h
index 46f45b600..595b3654d 100644
--- a/clutter/clutter/clutter-page-turn-effect.h
+++ b/clutter/clutter/clutter-page-turn-effect.h
@@ -25,8 +25,7 @@
* Chris Lord
*/
-#ifndef __CLUTTER_PAGE_TURN_EFFECT_H__
-#define __CLUTTER_PAGE_TURN_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -68,5 +67,3 @@ CLUTTER_EXPORT
gfloat clutter_page_turn_effect_get_radius (ClutterPageTurnEffect *effect);
G_END_DECLS
-
-#endif /* __CLUTTER_PAGE_TURN_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-paint-context-private.h b/clutter/clutter/clutter-paint-context-private.h
index e15245ee6..97a195f5e 100644
--- a/clutter/clutter/clutter-paint-context-private.h
+++ b/clutter/clutter/clutter-paint-context-private.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_PAINT_CONTEXT_PRIVATE_H
-#define CLUTTER_PAINT_CONTEXT_PRIVATE_H
+#pragma once
#include "clutter-paint-context.h"
@@ -35,5 +34,3 @@ clutter_paint_context_get_clip_frusta (ClutterPaintContext *paint_context);
void clutter_paint_context_assign_frame (ClutterPaintContext *paint_context,
ClutterFrame *frame);
-
-#endif /* CLUTTER_PAINT_CONTEXT_PRIVATE_H */
diff --git a/clutter/clutter/clutter-paint-context.h b/clutter/clutter/clutter-paint-context.h
index 9370ae163..c3c684c71 100644
--- a/clutter/clutter/clutter-paint-context.h
+++ b/clutter/clutter/clutter-paint-context.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_PAINT_CONTEXT_H
-#define CLUTTER_PAINT_CONTEXT_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -77,5 +76,3 @@ ClutterPaintFlag clutter_paint_context_get_paint_flags (ClutterPaintContext *pai
CLUTTER_EXPORT
ClutterFrame * clutter_paint_context_get_frame (ClutterPaintContext *paint_context);
-
-#endif /* CLUTTER_PAINT_CONTEXT_H */
diff --git a/clutter/clutter/clutter-paint-node-private.h b/clutter/clutter/clutter-paint-node-private.h
index c10f10f7e..c6803845c 100644
--- a/clutter/clutter/clutter-paint-node-private.h
+++ b/clutter/clutter/clutter-paint-node-private.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_PAINT_NODE_PRIVATE_H__
-#define __CLUTTER_PAINT_NODE_PRIVATE_H__
+#pragma once
#include
#include
@@ -164,5 +163,3 @@ CLUTTER_EXPORT
ClutterPaintNode * clutter_effect_node_new (ClutterEffect *effect);
G_END_DECLS
-
-#endif /* __CLUTTER_PAINT_NODE_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-paint-node.h b/clutter/clutter/clutter-paint-node.h
index 0b1548e43..5c86be0cc 100644
--- a/clutter/clutter/clutter-paint-node.h
+++ b/clutter/clutter/clutter-paint-node.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_PAINT_NODE_H__
-#define __CLUTTER_PAINT_NODE_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -117,5 +116,3 @@ CLUTTER_EXPORT
gpointer clutter_value_dup_paint_node (const GValue *value);
G_END_DECLS
-
-#endif /* __CLUTTER_PAINT_NODE_H__ */
diff --git a/clutter/clutter/clutter-paint-nodes.h b/clutter/clutter/clutter-paint-nodes.h
index d98809ffe..10af06911 100644
--- a/clutter/clutter/clutter-paint-nodes.h
+++ b/clutter/clutter/clutter-paint-nodes.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_PAINT_NODES_H__
-#define __CLUTTER_PAINT_NODES_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -205,5 +204,3 @@ ClutterPaintNode * clutter_blur_node_new (unsigned int width,
float sigma);
G_END_DECLS
-
-#endif /* __CLUTTER_PAINT_NODES_H__ */
diff --git a/clutter/clutter/clutter-paint-volume-private.h b/clutter/clutter/clutter-paint-volume-private.h
index accaa4835..56e097b1f 100644
--- a/clutter/clutter/clutter-paint-volume-private.h
+++ b/clutter/clutter/clutter-paint-volume-private.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_PAINT_VOLUME_PRIVATE_H__
-#define __CLUTTER_PAINT_VOLUME_PRIVATE_H__
+#pragma once
#include
#include
@@ -137,5 +136,3 @@ void clutter_paint_volume_to_box (ClutterPaintVolu
graphene_box_t *box);
G_END_DECLS
-
-#endif /* __CLUTTER_PAINT_VOLUME_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-pan-action.h b/clutter/clutter/clutter-pan-action.h
index 106bd6712..8b47a291f 100644
--- a/clutter/clutter/clutter-pan-action.h
+++ b/clutter/clutter/clutter-pan-action.h
@@ -30,8 +30,7 @@
* Chris Lord
*/
-#ifndef __CLUTTER_PAN_ACTION_H__
-#define __CLUTTER_PAN_ACTION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -127,5 +126,3 @@ gfloat clutter_pan_action_get_constrained_motion_delta (ClutterPanActio
gfloat *delta_x,
gfloat *delta_y);
G_END_DECLS
-
-#endif /* __CLUTTER_PAN_ACTION_H__ */
diff --git a/clutter/clutter/clutter-path-constraint.h b/clutter/clutter/clutter-path-constraint.h
index 9a7bddb54..202ed3f57 100644
--- a/clutter/clutter/clutter-path-constraint.h
+++ b/clutter/clutter/clutter-path-constraint.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_PATH_CONSTRAINT_H__
-#define __CLUTTER_PATH_CONSTRAINT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -60,5 +59,3 @@ CLUTTER_EXPORT
gfloat clutter_path_constraint_get_offset (ClutterPathConstraint *constraint);
G_END_DECLS
-
-#endif /* __CLUTTER_PATH_CONSTRAINT_H__ */
diff --git a/clutter/clutter/clutter-path.h b/clutter/clutter/clutter-path.h
index 7fde33c9d..245b10879 100644
--- a/clutter/clutter/clutter-path.h
+++ b/clutter/clutter/clutter-path.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_PATH_H__
-#define __CLUTTER_PATH_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -159,5 +158,3 @@ CLUTTER_EXPORT
guint clutter_path_get_length (ClutterPath *path);
G_END_DECLS
-
-#endif /* __CLUTTER_PATH_H__ */
diff --git a/clutter/clutter/clutter-pick-context-private.h b/clutter/clutter/clutter-pick-context-private.h
index f40de6f3d..b41493a77 100644
--- a/clutter/clutter/clutter-pick-context-private.h
+++ b/clutter/clutter/clutter-pick-context-private.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_PICK_CONTEXT_PRIVATE_H
-#define CLUTTER_PICK_CONTEXT_PRIVATE_H
+#pragma once
#include "clutter-pick-context.h"
#include "clutter-pick-stack-private.h"
@@ -33,5 +32,3 @@ clutter_pick_context_steal_stack (ClutterPickContext *pick_context);
gboolean
clutter_pick_context_intersects_box (ClutterPickContext *pick_context,
const graphene_box_t *box);
-
-#endif /* CLUTTER_PICK_CONTEXT_PRIVATE_H */
diff --git a/clutter/clutter/clutter-pick-context.h b/clutter/clutter/clutter-pick-context.h
index 730db1a0a..2e4efc534 100644
--- a/clutter/clutter/clutter-pick-context.h
+++ b/clutter/clutter/clutter-pick-context.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_PICK_CONTEXT_H
-#define CLUTTER_PICK_CONTEXT_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -71,5 +70,3 @@ void clutter_pick_context_get_transform (ClutterPickContext *pick_context,
CLUTTER_EXPORT
void clutter_pick_context_pop_transform (ClutterPickContext *pick_context);
-
-#endif /* CLUTTER_PICK_CONTEXT_H */
diff --git a/clutter/clutter/clutter-pick-stack-private.h b/clutter/clutter/clutter-pick-stack-private.h
index 9bcf5dd82..d6a5452ee 100644
--- a/clutter/clutter/clutter-pick-stack-private.h
+++ b/clutter/clutter/clutter-pick-stack-private.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_PICK_STACK_PRIVATE_H
-#define CLUTTER_PICK_STACK_PRIVATE_H
+#pragma once
#include
@@ -67,5 +66,3 @@ clutter_pick_stack_search_actor (ClutterPickStack *pick_stack,
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ClutterPickStack, clutter_pick_stack_unref)
G_END_DECLS
-
-#endif /* CLUTTER_PICK_STACK_PRIVATE_H */
diff --git a/clutter/clutter/clutter-private.h b/clutter/clutter/clutter-private.h
index 9492ba4af..c658f6de5 100644
--- a/clutter/clutter/clutter-private.h
+++ b/clutter/clutter/clutter-private.h
@@ -23,8 +23,7 @@
*
*/
-#ifndef __CLUTTER_PRIVATE_H__
-#define __CLUTTER_PRIVATE_H__
+#pragma once
#include
#include
@@ -320,5 +319,3 @@ s2ms (int64_t s)
}
G_END_DECLS
-
-#endif /* __CLUTTER_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-property-transition.h b/clutter/clutter/clutter-property-transition.h
index 6628328ce..fa79162be 100644
--- a/clutter/clutter/clutter-property-transition.h
+++ b/clutter/clutter/clutter-property-transition.h
@@ -21,8 +21,7 @@
* Author: Emmanuele Bassi
*/
-#ifndef __CLUTTER_PROPERTY_TRANSITION_H__
-#define __CLUTTER_PROPERTY_TRANSITION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -80,5 +79,3 @@ CLUTTER_EXPORT
const char * clutter_property_transition_get_property_name (ClutterPropertyTransition *transition);
G_END_DECLS
-
-#endif /* __CLUTTER_PROPERTY_TRANSITION_H__ */
diff --git a/clutter/clutter/clutter-rotate-action.h b/clutter/clutter/clutter-rotate-action.h
index cd78b2382..f366932aa 100644
--- a/clutter/clutter/clutter-rotate-action.h
+++ b/clutter/clutter/clutter-rotate-action.h
@@ -22,8 +22,7 @@
* Lionel Landwerlin
*/
-#ifndef __CLUTTER_ROTATE_ACTION_H__
-#define __CLUTTER_ROTATE_ACTION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -72,5 +71,3 @@ CLUTTER_EXPORT
ClutterAction *clutter_rotate_action_new (void);
G_END_DECLS
-
-#endif /* __CLUTTER_ROTATE_ACTION_H__ */
diff --git a/clutter/clutter/clutter-script-private.h b/clutter/clutter/clutter-script-private.h
index 52c240e2a..6ccb785e0 100644
--- a/clutter/clutter/clutter-script-private.h
+++ b/clutter/clutter/clutter-script-private.h
@@ -23,8 +23,7 @@
*
*/
-#ifndef __CLUTTER_SCRIPT_PRIVATE_H__
-#define __CLUTTER_SCRIPT_PRIVATE_H__
+#pragma once
#include
#include
@@ -164,5 +163,3 @@ void _clutter_script_add_object_info (ClutterScript *script,
const gchar *_clutter_script_get_id_from_node (JsonNode *node);
G_END_DECLS
-
-#endif /* __CLUTTER_SCRIPT_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-script.h b/clutter/clutter/clutter-script.h
index 881721aeb..dae6f21b4 100644
--- a/clutter/clutter/clutter-script.h
+++ b/clutter/clutter/clutter-script.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_SCRIPT_H__
-#define __CLUTTER_SCRIPT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -181,5 +180,3 @@ CLUTTER_EXPORT
const gchar * clutter_get_script_id (GObject *gobject);
G_END_DECLS
-
-#endif /* __CLUTTER_SCRIPT_H__ */
diff --git a/clutter/clutter/clutter-scriptable.h b/clutter/clutter/clutter-scriptable.h
index f7ccd5923..de7e885ee 100644
--- a/clutter/clutter/clutter-scriptable.h
+++ b/clutter/clutter/clutter-scriptable.h
@@ -22,8 +22,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_SCRIPTABLE_H__
-#define __CLUTTER_SCRIPTABLE_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -97,5 +96,3 @@ void clutter_scriptable_set_custom_property (ClutterScriptable
const GValue *value);
G_END_DECLS
-
-#endif /* __CLUTTER_SCRIPTABLE_H__ */
diff --git a/clutter/clutter/clutter-scroll-actor.h b/clutter/clutter/clutter-scroll-actor.h
index 1a6cfa3e4..6a913b8bd 100644
--- a/clutter/clutter/clutter-scroll-actor.h
+++ b/clutter/clutter/clutter-scroll-actor.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_SCROLL_ACTOR_H__
-#define __CLUTTER_SCROLL_ACTOR_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -81,5 +80,3 @@ void clutter_scroll_actor_scroll_to_rect (ClutterScrollAc
const graphene_rect_t *rect);
G_END_DECLS
-
-#endif /* __CLUTTER_SCROLL_ACTOR_H__ */
diff --git a/clutter/clutter/clutter-seat-private.h b/clutter/clutter/clutter-seat-private.h
index 8271799a2..67f074cf5 100644
--- a/clutter/clutter/clutter-seat-private.h
+++ b/clutter/clutter/clutter-seat-private.h
@@ -20,8 +20,7 @@
*
*/
-#ifndef CLUTTER_SEAT_PRIVATE_H
-#define CLUTTER_SEAT_PRIVATE_H
+#pragma once
#include "clutter/clutter-types.h"
@@ -37,5 +36,3 @@ CLUTTER_EXPORT
void clutter_seat_init_pointer_position (ClutterSeat *seat,
float x,
float y);
-
-#endif /* CLUTTER_SEAT_PRIVATE_H */
diff --git a/clutter/clutter/clutter-seat.h b/clutter/clutter/clutter-seat.h
index e4184f7ce..bef35ac4d 100644
--- a/clutter/clutter/clutter-seat.h
+++ b/clutter/clutter/clutter-seat.h
@@ -20,8 +20,8 @@
*
* Author: Carlos Garnacho
*/
-#ifndef CLUTTER_SEAT_H
-#define CLUTTER_SEAT_H
+
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -174,5 +174,3 @@ gboolean clutter_seat_query_state (ClutterSeat *seat,
CLUTTER_EXPORT
const char * clutter_seat_get_name (ClutterSeat *seat);
-
-#endif /* CLUTTER_SEAT_H */
diff --git a/clutter/clutter/clutter-settings-private.h b/clutter/clutter/clutter-settings-private.h
index a8a8e01e3..e99753068 100644
--- a/clutter/clutter/clutter-settings-private.h
+++ b/clutter/clutter/clutter-settings-private.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_SETTINGS_PRIVATE_H__
-#define __CLUTTER_SETTINGS_PRIVATE_H__
+#pragma once
#include
#include
@@ -17,5 +16,3 @@ void clutter_settings_ensure_pointer_a11y_settings (ClutterSettings *settings,
ClutterSeat *seat);
G_END_DECLS
-
-#endif /* __CLUTTER_SETTINGS_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-settings.h b/clutter/clutter/clutter-settings.h
index bb3911e9d..5606f7bec 100644
--- a/clutter/clutter/clutter-settings.h
+++ b/clutter/clutter/clutter-settings.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_SETTINGS_H__
-#define __CLUTTER_SETTINGS_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -23,5 +22,3 @@ CLUTTER_EXPORT
ClutterSettings *clutter_settings_get_default (void);
G_END_DECLS
-
-#endif /* __CLUTTER_SETTINGS_H__ */
diff --git a/clutter/clutter/clutter-shader-effect.h b/clutter/clutter/clutter-shader-effect.h
index 00079920f..9a8799b6a 100644
--- a/clutter/clutter/clutter-shader-effect.h
+++ b/clutter/clutter/clutter-shader-effect.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_SHADER_EFFECT_H__
-#define __CLUTTER_SHADER_EFFECT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -99,5 +98,3 @@ CLUTTER_EXPORT
CoglHandle clutter_shader_effect_get_program (ClutterShaderEffect *effect);
G_END_DECLS
-
-#endif /* __CLUTTER_SHADER_EFFECT_H__ */
diff --git a/clutter/clutter/clutter-shader-types.h b/clutter/clutter/clutter-shader-types.h
index 94a67c56a..de03a50fb 100644
--- a/clutter/clutter/clutter-shader-types.h
+++ b/clutter/clutter/clutter-shader-types.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_SHADER_TYPES_H__
-#define __CLUTTER_SHADER_TYPES_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -94,5 +93,3 @@ const gfloat * clutter_value_get_shader_matrix (const GValue *value,
gsize *length);
G_END_DECLS
-
-#endif /* __CLUTTER_SHADER_TYPES_H__ */
diff --git a/clutter/clutter/clutter-snap-constraint.h b/clutter/clutter/clutter-snap-constraint.h
index 8ee5343ce..355d20603 100644
--- a/clutter/clutter/clutter-snap-constraint.h
+++ b/clutter/clutter/clutter-snap-constraint.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_SNAP_CONSTRAINT_H__
-#define __CLUTTER_SNAP_CONSTRAINT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -69,5 +68,3 @@ CLUTTER_EXPORT
gfloat clutter_snap_constraint_get_offset (ClutterSnapConstraint *constraint);
G_END_DECLS
-
-#endif /* __CLUTTER_SNAP_CONSTRAINT_H__ */
diff --git a/clutter/clutter/clutter-stage-manager-private.h b/clutter/clutter/clutter-stage-manager-private.h
index 81ebbb6c0..2441f579e 100644
--- a/clutter/clutter/clutter-stage-manager-private.h
+++ b/clutter/clutter/clutter-stage-manager-private.h
@@ -22,8 +22,7 @@
* Emmanuele Bassi
*/
-#ifndef __CLUTTER_STAGE_MANAGER_PRIVATE_H__
-#define __CLUTTER_STAGE_MANAGER_PRIVATE_H__
+#pragma once
#include
@@ -45,5 +44,3 @@ void _clutter_stage_manager_set_default_stage (ClutterStageManager *stage_manage
ClutterStage *stage);
G_END_DECLS
-
-#endif /* __CLUTTER_STAGE_MANAGER_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-stage-manager.h b/clutter/clutter/clutter-stage-manager.h
index 0900c5150..4614183bf 100644
--- a/clutter/clutter/clutter-stage-manager.h
+++ b/clutter/clutter/clutter-stage-manager.h
@@ -21,8 +21,7 @@
* Author: Emmanuele Bassi
*/
-#ifndef __CLUTTER_STAGE_MANAGER_H__
-#define __CLUTTER_STAGE_MANAGER_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -72,5 +71,3 @@ CLUTTER_EXPORT
const GSList * clutter_stage_manager_peek_stages (ClutterStageManager *stage_manager);
G_END_DECLS
-
-#endif /* __CLUTTER_STAGE_MANAGER_H__ */
diff --git a/clutter/clutter/clutter-stage-private.h b/clutter/clutter/clutter-stage-private.h
index fb973088c..584fdd3a7 100644
--- a/clutter/clutter/clutter-stage-private.h
+++ b/clutter/clutter/clutter-stage-private.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_STAGE_PRIVATE_H__
-#define __CLUTTER_STAGE_PRIVATE_H__
+#pragma once
#include
#include
@@ -172,5 +171,3 @@ ClutterGrab * clutter_stage_grab_input_only (ClutterStage *self,
GDestroyNotify user_data_destroy);
G_END_DECLS
-
-#endif /* __CLUTTER_STAGE_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-stage-view-private.h b/clutter/clutter/clutter-stage-view-private.h
index 309dde496..207cc1a9f 100644
--- a/clutter/clutter/clutter-stage-view-private.h
+++ b/clutter/clutter/clutter-stage-view-private.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_STAGE_VIEW_PRIVATE_H__
-#define __CLUTTER_STAGE_VIEW_PRIVATE_H__
+#pragma once
#include "clutter/clutter-stage-view.h"
#include "clutter/clutter-types.h"
@@ -86,5 +85,3 @@ CLUTTER_EXPORT
void clutter_stage_view_notify_ready (ClutterStageView *view);
void clutter_stage_view_invalidate_input_devices (ClutterStageView *view);
-
-#endif /* __CLUTTER_STAGE_VIEW_PRIVATE_H__ */
diff --git a/clutter/clutter/clutter-stage-view.h b/clutter/clutter/clutter-stage-view.h
index c17c587a2..8c3c712ac 100644
--- a/clutter/clutter/clutter-stage-view.h
+++ b/clutter/clutter/clutter-stage-view.h
@@ -15,8 +15,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_STAGE_VIEW_H__
-#define __CLUTTER_STAGE_VIEW_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -95,5 +94,3 @@ void clutter_stage_view_schedule_update_now (ClutterStageView *view);
CLUTTER_EXPORT
ClutterPaintFlag clutter_stage_view_get_default_paint_flags (ClutterStageView *view);
-
-#endif /* __CLUTTER_STAGE_VIEW_H__ */
diff --git a/clutter/clutter/clutter-stage-window.h b/clutter/clutter/clutter-stage-window.h
index 5af5cffa9..6e2ce259a 100644
--- a/clutter/clutter/clutter-stage-window.h
+++ b/clutter/clutter/clutter-stage-window.h
@@ -1,5 +1,4 @@
-#ifndef __CLUTTER_STAGE_WINDOW_H__
-#define __CLUTTER_STAGE_WINDOW_H__
+#pragma once
#include
#include
@@ -102,5 +101,3 @@ void _clutter_stage_window_finish_frame (ClutterStageWin
int64_t _clutter_stage_window_get_frame_counter (ClutterStageWindow *window);
G_END_DECLS
-
-#endif /* __CLUTTER_STAGE_WINDOW_H__ */
diff --git a/clutter/clutter/clutter-stage.h b/clutter/clutter/clutter-stage.h
index 4a82abfb3..9ba7efd86 100644
--- a/clutter/clutter/clutter-stage.h
+++ b/clutter/clutter/clutter-stage.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_STAGE_H__
-#define __CLUTTER_STAGE_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -244,5 +243,3 @@ CLUTTER_EXPORT
ClutterActor * clutter_stage_get_grab_actor (ClutterStage *stage);
G_END_DECLS
-
-#endif /* __CLUTTER_STAGE_H__ */
diff --git a/clutter/clutter/clutter-swipe-action.h b/clutter/clutter/clutter-swipe-action.h
index ddc6699a2..89c284e71 100644
--- a/clutter/clutter/clutter-swipe-action.h
+++ b/clutter/clutter/clutter-swipe-action.h
@@ -26,13 +26,12 @@
* Emmanuele Bassi
*/
+#pragma once
+
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __CLUTTER_SWIPE_ACTION_H__
-#define __CLUTTER_SWIPE_ACTION_H__
-
#include
G_BEGIN_DECLS
@@ -83,5 +82,3 @@ CLUTTER_EXPORT
ClutterAction * clutter_swipe_action_new (void);
G_END_DECLS
-
-#endif /* __CLUTTER_SWIPE_ACTION_H__ */
diff --git a/clutter/clutter/clutter-tap-action.h b/clutter/clutter/clutter-tap-action.h
index f478588ea..d1e4afd55 100644
--- a/clutter/clutter/clutter-tap-action.h
+++ b/clutter/clutter/clutter-tap-action.h
@@ -31,8 +31,7 @@
* Chris Lord
*/
-#ifndef __CLUTTER_TAP_ACTION_H__
-#define __CLUTTER_TAP_ACTION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -82,5 +81,3 @@ GType clutter_tap_action_get_type (void) G_GNUC_CONST;
CLUTTER_EXPORT
ClutterAction * clutter_tap_action_new (void);
G_END_DECLS
-
-#endif /* __CLUTTER_TAP_ACTION_H__ */
diff --git a/clutter/clutter/clutter-text-buffer.h b/clutter/clutter/clutter-text-buffer.h
index 6f082168d..190833224 100644
--- a/clutter/clutter/clutter-text-buffer.h
+++ b/clutter/clutter/clutter-text-buffer.h
@@ -19,8 +19,7 @@
* Author: Stef Walter
*/
-#ifndef __CLUTTER_TEXT_BUFFER_H__
-#define __CLUTTER_TEXT_BUFFER_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -145,5 +144,3 @@ void clutter_text_buffer_emit_deleted_text (ClutterTextBuffer *
guint n_chars);
G_END_DECLS
-
-#endif /* __CLUTTER_TEXT_BUFFER_H__ */
diff --git a/clutter/clutter/clutter-text.h b/clutter/clutter/clutter-text.h
index ba4c4b865..c379e3ea4 100644
--- a/clutter/clutter/clutter-text.h
+++ b/clutter/clutter/clutter-text.h
@@ -22,8 +22,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_TEXT_H__
-#define __CLUTTER_TEXT_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -298,5 +297,3 @@ CLUTTER_EXPORT
gboolean clutter_text_has_preedit (ClutterText *self);
G_END_DECLS
-
-#endif /* __CLUTTER_TEXT_H__ */
diff --git a/clutter/clutter/clutter-texture-content.h b/clutter/clutter/clutter-texture-content.h
index 4f2c21c9f..49108a6ce 100644
--- a/clutter/clutter/clutter-texture-content.h
+++ b/clutter/clutter/clutter-texture-content.h
@@ -24,8 +24,7 @@
* Robert Mader
*/
-#ifndef CLUTTER_TEXTURE_CONTENT_H
-#define CLUTTER_TEXTURE_CONTENT_H
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -49,5 +48,3 @@ CLUTTER_EXPORT
CoglTexture * clutter_texture_content_get_texture (ClutterTextureContent *texture_content);
G_END_DECLS
-
-#endif /* CLUTTER_TEXTURE_CONTENT_H */
diff --git a/clutter/clutter/clutter-timeline-private.h b/clutter/clutter/clutter-timeline-private.h
index 38e712bfd..799780025 100644
--- a/clutter/clutter/clutter-timeline-private.h
+++ b/clutter/clutter/clutter-timeline-private.h
@@ -21,13 +21,10 @@
* License along with this library. If not, see .
*/
-#ifndef CLUTTER_TIMELINE_PRIVATE_H
-#define CLUTTER_TIMELINE_PRIVATE_H
+#pragma once
void _clutter_timeline_advance (ClutterTimeline *timeline,
int64_t tick_time);
int64_t _clutter_timeline_get_delta (ClutterTimeline *timeline);
void _clutter_timeline_do_tick (ClutterTimeline *timeline,
int64_t tick_time);
-
-#endif /* CLUTTER_TIMELINE_PRIVATE_H */
diff --git a/clutter/clutter/clutter-timeline.h b/clutter/clutter/clutter-timeline.h
index 684b61ad2..1a68b797e 100644
--- a/clutter/clutter/clutter-timeline.h
+++ b/clutter/clutter/clutter-timeline.h
@@ -21,13 +21,12 @@
* License along with this library. If not, see .
*/
+#pragma once
+
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __CLUTTER_TIMELINE_H__
-#define __CLUTTER_TIMELINE_H__
-
#include
G_BEGIN_DECLS
@@ -223,5 +222,3 @@ void clutter_timeline_set_frame_clock
ClutterFrameClock *frame_clock);
G_END_DECLS
-
-#endif /* _CLUTTER_TIMELINE_H__ */
diff --git a/clutter/clutter/clutter-transition-group.h b/clutter/clutter/clutter-transition-group.h
index d263600a9..302003e36 100644
--- a/clutter/clutter/clutter-transition-group.h
+++ b/clutter/clutter/clutter-transition-group.h
@@ -21,8 +21,7 @@
* Author: Emmanuele Bassi
*/
-#ifndef __CLUTTER_TRANSITION_GROUP_H__
-#define __CLUTTER_TRANSITION_GROUP_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -79,5 +78,3 @@ CLUTTER_EXPORT
void clutter_transition_group_remove_all (ClutterTransitionGroup *group);
G_END_DECLS
-
-#endif /* __CLUTTER_TRANSITION_GROUP_H__ */
diff --git a/clutter/clutter/clutter-transition.h b/clutter/clutter/clutter-transition.h
index a0d7aba87..dac3ba9bf 100644
--- a/clutter/clutter/clutter-transition.h
+++ b/clutter/clutter/clutter-transition.h
@@ -21,8 +21,7 @@
* Author: Emmanuele Bassi
*/
-#ifndef __CLUTTER_TRANSITION_H__
-#define __CLUTTER_TRANSITION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -115,5 +114,3 @@ CLUTTER_EXPORT
gboolean clutter_transition_get_remove_on_complete (ClutterTransition *transition);
G_END_DECLS
-
-#endif /* __CLUTTER_TRANSITION_H__ */
diff --git a/clutter/clutter/clutter-types.h b/clutter/clutter/clutter-types.h
index 8c06f12f6..1459fbbc7 100644
--- a/clutter/clutter/clutter-types.h
+++ b/clutter/clutter/clutter-types.h
@@ -21,8 +21,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_TYPES_H__
-#define __CLUTTER_TYPES_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -418,5 +417,3 @@ void clutter_interval_register_progress_func (GType value_type,
ClutterProgressFunc func);
G_END_DECLS
-
-#endif /* __CLUTTER_TYPES_H__ */
diff --git a/clutter/clutter/clutter-units.h b/clutter/clutter/clutter-units.h
index 9d232021e..09586f81b 100644
--- a/clutter/clutter/clutter-units.h
+++ b/clutter/clutter/clutter-units.h
@@ -24,8 +24,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_UNITS_H__
-#define __CLUTTER_UNITS_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -164,5 +163,3 @@ CLUTTER_EXPORT
const ClutterUnits * clutter_value_get_units (const GValue *value);
G_END_DECLS
-
-#endif /* __CLUTTER_UNITS_H__ */
diff --git a/clutter/clutter/clutter-virtual-input-device.h b/clutter/clutter/clutter-virtual-input-device.h
index eeceb7a56..93f5cd01d 100644
--- a/clutter/clutter/clutter-virtual-input-device.h
+++ b/clutter/clutter/clutter-virtual-input-device.h
@@ -21,8 +21,7 @@
* Author: Jonas Ådahl
*/
-#ifndef __CLUTTER_VIRTUAL_INPUT_DEVICE_H__
-#define __CLUTTER_VIRTUAL_INPUT_DEVICE_H__
+#pragma once
#include
#include
@@ -176,5 +175,3 @@ int clutter_virtual_input_device_get_device_type (ClutterVirtualInputDevice *vir
CLUTTER_EXPORT
ClutterSeat * clutter_virtual_input_device_get_seat (ClutterVirtualInputDevice *virtual_device);
-
-#endif /* __CLUTTER_VIRTUAL_INPUT_DEVICE_H__ */
diff --git a/clutter/clutter/clutter-zoom-action.h b/clutter/clutter/clutter-zoom-action.h
index 04cf5bfb8..7fbc16f57 100644
--- a/clutter/clutter/clutter-zoom-action.h
+++ b/clutter/clutter/clutter-zoom-action.h
@@ -22,8 +22,7 @@
* Lionel Landwerlin
*/
-#ifndef __CLUTTER_ZOOM_ACTION_H__
-#define __CLUTTER_ZOOM_ACTION_H__
+#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
@@ -81,5 +80,3 @@ void clutter_zoom_action_get_transformed_focal_point (ClutterZoomActi
graphene_point_t *point);
G_END_DECLS
-
-#endif /* __CLUTTER_ZOOM_ACTION_H__ */
diff --git a/clutter/clutter/clutter.h b/clutter/clutter/clutter.h
index 6295ae7b4..035f82be6 100644
--- a/clutter/clutter/clutter.h
+++ b/clutter/clutter/clutter.h
@@ -23,8 +23,7 @@
*
*/
-#ifndef __CLUTTER_H__
-#define __CLUTTER_H__
+#pragma once
#define __CLUTTER_H_INSIDE__
@@ -116,5 +115,3 @@
#include "clutter-autocleanups.h"
#undef __CLUTTER_H_INSIDE__
-
-#endif /* __CLUTTER_H__ */
diff --git a/clutter/clutter/deprecated/clutter-container.h b/clutter/clutter/deprecated/clutter-container.h
index 10cd9d0c0..c24195a7b 100644
--- a/clutter/clutter/deprecated/clutter-container.h
+++ b/clutter/clutter/deprecated/clutter-container.h
@@ -23,13 +23,12 @@
* Author: Emmanuele Bassi
*/
+#pragma once
+
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __CLUTTER_CONTAINER_DEPRECATED_H__
-#define __CLUTTER_CONTAINER_DEPRECATED_H__
-
#include
G_BEGIN_DECLS
@@ -53,5 +52,3 @@ void clutter_container_remove_actor (ClutterContaine
ClutterActor *actor);
G_END_DECLS
-
-#endif /* __CLUTTER_CONTAINER_DEPRECATED_H__ */
diff --git a/clutter/clutter/deprecated/clutter-timeline.h b/clutter/clutter/deprecated/clutter-timeline.h
index 169bd7c76..808447064 100644
--- a/clutter/clutter/deprecated/clutter-timeline.h
+++ b/clutter/clutter/deprecated/clutter-timeline.h
@@ -19,8 +19,7 @@
* License along with this library. If not, see .
*/
-#ifndef __CLUTTER_TIMELINE_PRIVATE_H__
-#define __CLUTTER_TIMELINE_PRIVATE_H__
+#pragma once
#include
@@ -30,5 +29,3 @@ CLUTTER_DEPRECATED_FOR(clutter_timeline_new_for_actor)
ClutterTimeline * clutter_timeline_new (guint duration_ms);
G_END_DECLS
-
-#endif /* __CLUTTER_TIMELINE_PRIVATE_H__ */
diff --git a/cogl/cogl-pango/cogl-pango-display-list.h b/cogl/cogl-pango/cogl-pango-display-list.h
index 03a686ee1..91e4a21c2 100644
--- a/cogl/cogl-pango/cogl-pango-display-list.h
+++ b/cogl/cogl-pango/cogl-pango-display-list.h
@@ -26,8 +26,7 @@
* SOFTWARE.
*/
-#ifndef __COGL_PANGO_DISPLAY_LIST_H__
-#define __COGL_PANGO_DISPLAY_LIST_H__
+#pragma once
#include
#include "cogl-pango-pipeline-cache.h"
@@ -80,5 +79,3 @@ void
_cogl_pango_display_list_free (CoglPangoDisplayList *dl);
G_END_DECLS
-
-#endif /* __COGL_PANGO_DISPLAY_LIST_H__ */
diff --git a/cogl/cogl-pango/cogl-pango-glyph-cache.h b/cogl/cogl-pango/cogl-pango-glyph-cache.h
index a03330dd2..8739c2329 100644
--- a/cogl/cogl-pango/cogl-pango-glyph-cache.h
+++ b/cogl/cogl-pango/cogl-pango-glyph-cache.h
@@ -26,8 +26,7 @@
* SOFTWARE.
*/
-#ifndef __COGL_PANGO_GLYPH_CACHE_H__
-#define __COGL_PANGO_GLYPH_CACHE_H__
+#pragma once
#include
#include
@@ -98,5 +97,3 @@ _cogl_pango_glyph_cache_set_dirty_glyphs (CoglPangoGlyphCache *cache,
CoglPangoGlyphCacheDirtyFunc func);
G_END_DECLS
-
-#endif /* __COGL_PANGO_GLYPH_CACHE_H__ */
diff --git a/cogl/cogl-pango/cogl-pango-pipeline-cache.h b/cogl/cogl-pango/cogl-pango-pipeline-cache.h
index 2cd887812..f7441f0eb 100644
--- a/cogl/cogl-pango/cogl-pango-pipeline-cache.h
+++ b/cogl/cogl-pango/cogl-pango-pipeline-cache.h
@@ -31,8 +31,7 @@
* Neil Roberts
*/
-#ifndef __COGL_PANGO_PIPELINE_CACHE_H__
-#define __COGL_PANGO_PIPELINE_CACHE_H__
+#pragma once
#include
@@ -68,5 +67,3 @@ void
_cogl_pango_pipeline_cache_free (CoglPangoPipelineCache *cache);
G_END_DECLS
-
-#endif /* __COGL_PANGO_PIPELINE_CACHE_H__ */
diff --git a/cogl/cogl-pango/cogl-pango-private.h b/cogl/cogl-pango/cogl-pango-private.h
index c29100a66..c9ec8a52a 100644
--- a/cogl/cogl-pango/cogl-pango-private.h
+++ b/cogl/cogl-pango/cogl-pango-private.h
@@ -33,8 +33,7 @@
* Matthew Allum
*/
-#ifndef __COGL_PANGO_PRIVATE_H__
-#define __COGL_PANGO_PRIVATE_H__
+#pragma once
#include "cogl-pango.h"
@@ -61,5 +60,3 @@ PangoRenderer *
_cogl_pango_font_map_get_renderer (CoglPangoFontMap *fm);
G_END_DECLS
-
-#endif /* __COGL_PANGO_PRIVATE_H__ */
diff --git a/cogl/cogl-pango/cogl-pango.h b/cogl/cogl-pango/cogl-pango.h
index e5d30fec6..b50732a4a 100644
--- a/cogl/cogl-pango/cogl-pango.h
+++ b/cogl/cogl-pango/cogl-pango.h
@@ -32,8 +32,7 @@
* Matthew Allum
*/
-#ifndef __COGL_PANGO_H__
-#define __COGL_PANGO_H__
+#pragma once
#include
#include
@@ -212,5 +211,3 @@ typedef struct _CoglPangoRendererClass CoglPangoRendererClass;
COGL_EXPORT GType cogl_pango_renderer_get_type (void) G_GNUC_CONST;
G_END_DECLS
-
-#endif /* __COGL_PANGO_H__ */
diff --git a/cogl/cogl/cogl-atlas-texture-private.h b/cogl/cogl/cogl-atlas-texture-private.h
index 336bf1cfa..56b521cc6 100644
--- a/cogl/cogl/cogl-atlas-texture-private.h
+++ b/cogl/cogl/cogl-atlas-texture-private.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef _COGL_ATLAS_TEXTURE_PRIVATE_H_
-#define _COGL_ATLAS_TEXTURE_PRIVATE_H_
+#pragma once
#include "cogl-object-private.h"
#include "cogl-texture-private.h"
@@ -77,5 +76,3 @@ _cogl_atlas_texture_remove_reorganize_callback (CoglContext *ctx,
gboolean
_cogl_is_atlas_texture (void *object);
-
-#endif /* _COGL_ATLAS_TEXTURE_PRIVATE_H_ */
diff --git a/cogl/cogl/cogl-atlas-texture.h b/cogl/cogl/cogl-atlas-texture.h
index 397d53f5b..082fd6e33 100644
--- a/cogl/cogl/cogl-atlas-texture.h
+++ b/cogl/cogl/cogl-atlas-texture.h
@@ -28,13 +28,12 @@
*
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef _COGL_ATLAS_TEXTURE_H_
-#define _COGL_ATLAS_TEXTURE_H_
-
#include
#include
@@ -240,5 +239,3 @@ COGL_EXPORT gboolean
cogl_is_atlas_texture (void *object);
G_END_DECLS
-
-#endif /* _COGL_ATLAS_TEXTURE_H_ */
diff --git a/cogl/cogl/cogl-atlas.h b/cogl/cogl/cogl-atlas.h
index 304161046..f175ec874 100644
--- a/cogl/cogl/cogl-atlas.h
+++ b/cogl/cogl/cogl-atlas.h
@@ -26,8 +26,7 @@
* SOFTWARE.
*/
-#ifndef __COGL_ATLAS_H
-#define __COGL_ATLAS_H
+#pragma once
#include "cogl-rectangle-map.h"
#include "cogl-object-private.h"
@@ -101,5 +100,3 @@ _cogl_atlas_remove_reorganize_callback (CoglAtlas *atlas,
gboolean
_cogl_is_atlas (void *object);
-
-#endif /* __COGL_ATLAS_H */
diff --git a/cogl/cogl/cogl-attribute-buffer-private.h b/cogl/cogl/cogl-attribute-buffer-private.h
index c5e8a276d..85aead85b 100644
--- a/cogl/cogl/cogl-attribute-buffer-private.h
+++ b/cogl/cogl/cogl-attribute-buffer-private.h
@@ -31,8 +31,7 @@
* Robert Bragg
*/
-#ifndef __COGL_ATTRIBUTE_BUFFER_PRIVATE_H
-#define __COGL_ATTRIBUTE_BUFFER_PRIVATE_H
+#pragma once
#include "cogl-buffer-private.h"
@@ -40,5 +39,3 @@ struct _CoglAttributeBuffer
{
CoglBuffer _parent;
};
-
-#endif /* __COGL_ATTRIBUTE_BUFFER_PRIVATE_H */
diff --git a/cogl/cogl/cogl-attribute-buffer.h b/cogl/cogl/cogl-attribute-buffer.h
index 1157f1949..1c2222647 100644
--- a/cogl/cogl/cogl-attribute-buffer.h
+++ b/cogl/cogl/cogl-attribute-buffer.h
@@ -31,13 +31,12 @@
* Robert Bragg
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_ATTRIBUTE_BUFFER_H__
-#define __COGL_ATTRIBUTE_BUFFER_H__
-
/* We forward declare the CoglAttributeBuffer type here to avoid some circular
* dependency issues with the following headers.
*/
@@ -137,5 +136,3 @@ cogl_is_attribute_buffer (void *object);
G_END_DECLS
-#endif /* __COGL_ATTRIBUTE_BUFFER_H__ */
-
diff --git a/cogl/cogl/cogl-attribute-private.h b/cogl/cogl/cogl-attribute-private.h
index e97cb7d0f..316255511 100644
--- a/cogl/cogl/cogl-attribute-private.h
+++ b/cogl/cogl/cogl-attribute-private.h
@@ -31,8 +31,7 @@
* Robert Bragg
*/
-#ifndef __COGL_ATTRIBUTE_PRIVATE_H
-#define __COGL_ATTRIBUTE_PRIVATE_H
+#pragma once
#include "cogl-object-private.h"
#include "cogl-attribute.h"
@@ -134,6 +133,3 @@ _cogl_flush_attributes_state (CoglFramebuffer *framebuffer,
int
_cogl_attribute_get_n_components (CoglAttribute *attribute);
-
-#endif /* __COGL_ATTRIBUTE_PRIVATE_H */
-
diff --git a/cogl/cogl/cogl-attribute.h b/cogl/cogl/cogl-attribute.h
index 732946f95..7580416ef 100644
--- a/cogl/cogl/cogl-attribute.h
+++ b/cogl/cogl/cogl-attribute.h
@@ -31,13 +31,12 @@
* Robert Bragg
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_ATTRIBUTE_H__
-#define __COGL_ATTRIBUTE_H__
-
/* We forward declare the CoglAttribute type here to avoid some circular
* dependency issues with the following headers.
*/
@@ -535,6 +534,3 @@ COGL_EXPORT gboolean
cogl_is_attribute (void *object);
G_END_DECLS
-
-#endif /* __COGL_ATTRIBUTE_H__ */
-
diff --git a/cogl/cogl/cogl-bitmap-private.h b/cogl/cogl/cogl-bitmap-private.h
index ac0e477d8..198642f1f 100644
--- a/cogl/cogl/cogl-bitmap-private.h
+++ b/cogl/cogl/cogl-bitmap-private.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_BITMAP_H
-#define __COGL_BITMAP_H
+#pragma once
#include
@@ -176,5 +175,3 @@ _cogl_bitmap_unmap (CoglBitmap *bitmap);
CoglContext *
_cogl_bitmap_get_context (CoglBitmap *bitmap);
-
-#endif /* __COGL_BITMAP_H */
diff --git a/cogl/cogl/cogl-bitmap.h b/cogl/cogl/cogl-bitmap.h
index 504987f78..f60c37e91 100644
--- a/cogl/cogl/cogl-bitmap.h
+++ b/cogl/cogl/cogl-bitmap.h
@@ -28,13 +28,12 @@
*
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_BITMAP_H__
-#define __COGL_BITMAP_H__
-
/* XXX: We forward declare CoglBitmap here to allow for circular
* dependencies between some headers */
typedef struct _CoglBitmap CoglBitmap;
@@ -274,5 +273,3 @@ COGL_EXPORT
uint32_t cogl_bitmap_error_quark (void);
G_END_DECLS
-
-#endif /* __COGL_BITMAP_H__ */
diff --git a/cogl/cogl/cogl-bitmask.h b/cogl/cogl/cogl-bitmask.h
index 31a57152c..aa09bafc9 100644
--- a/cogl/cogl/cogl-bitmask.h
+++ b/cogl/cogl/cogl-bitmask.h
@@ -29,8 +29,7 @@
* Neil Roberts
*/
-#ifndef __COGL_BITMASK_H
-#define __COGL_BITMASK_H
+#pragma once
#include
#include "cogl-util.h"
@@ -308,5 +307,3 @@ _cogl_bitmask_popcount_upto (const CoglBitmask *bitmask,
}
G_END_DECLS
-
-#endif /* __COGL_BITMASK_H */
diff --git a/cogl/cogl/cogl-blend-string.h b/cogl/cogl/cogl-blend-string.h
index 8333abad4..08f6ab2b5 100644
--- a/cogl/cogl/cogl-blend-string.h
+++ b/cogl/cogl/cogl-blend-string.h
@@ -31,8 +31,7 @@
* Robert Bragg
*/
-#ifndef COGL_BLEND_STRING_H
-#define COGL_BLEND_STRING_H
+#pragma once
#include
#include
@@ -139,6 +138,3 @@ void
_cogl_blend_string_split_rgba_statement (CoglBlendStringStatement *statement,
CoglBlendStringStatement *rgb,
CoglBlendStringStatement *a);
-
-#endif /* COGL_BLEND_STRING_H */
-
diff --git a/cogl/cogl/cogl-blit.h b/cogl/cogl/cogl-blit.h
index d3e0da233..eb4609436 100644
--- a/cogl/cogl/cogl-blit.h
+++ b/cogl/cogl/cogl-blit.h
@@ -26,8 +26,7 @@
* SOFTWARE.
*/
-#ifndef __COGL_BLIT_H
-#define __COGL_BLIT_H
+#pragma once
#include
#include "cogl-object-private.h"
@@ -97,5 +96,3 @@ _cogl_blit (CoglBlitData *data,
void
_cogl_blit_end (CoglBlitData *data);
-
-#endif /* __COGL_BLIT_H */
diff --git a/cogl/cogl/cogl-boxed-value.h b/cogl/cogl/cogl-boxed-value.h
index 962c13387..2221972b9 100644
--- a/cogl/cogl/cogl-boxed-value.h
+++ b/cogl/cogl/cogl-boxed-value.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_BOXED_VALUE_H
-#define __COGL_BOXED_VALUE_H
+#pragma once
#include
@@ -114,5 +113,3 @@ void
_cogl_boxed_value_set_uniform (CoglContext *ctx,
int location,
const CoglBoxedValue *value);
-
-#endif /* __COGL_BOXED_VALUE_H */
diff --git a/cogl/cogl/cogl-buffer-private.h b/cogl/cogl/cogl-buffer-private.h
index 1e8113838..c641f2e90 100644
--- a/cogl/cogl/cogl-buffer-private.h
+++ b/cogl/cogl/cogl-buffer-private.h
@@ -32,8 +32,7 @@
* Robert Bragg
*/
-#ifndef __COGL_BUFFER_PRIVATE_H__
-#define __COGL_BUFFER_PRIVATE_H__
+#pragma once
#include
@@ -175,5 +174,3 @@ COGL_EXPORT void
_cogl_buffer_unmap_for_fill_or_fallback (CoglBuffer *buffer);
G_END_DECLS
-
-#endif /* __COGL_BUFFER_PRIVATE_H__ */
diff --git a/cogl/cogl/cogl-buffer.h b/cogl/cogl/cogl-buffer.h
index f1f906502..02de7e896 100644
--- a/cogl/cogl/cogl-buffer.h
+++ b/cogl/cogl/cogl-buffer.h
@@ -32,13 +32,12 @@
* Robert Bragg
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_BUFFER_H__
-#define __COGL_BUFFER_H__
-
#include
G_BEGIN_DECLS
@@ -288,5 +287,3 @@ cogl_buffer_set_data (CoglBuffer *buffer,
size_t size);
G_END_DECLS
-
-#endif /* __COGL_BUFFER_H__ */
diff --git a/cogl/cogl/cogl-clip-stack.h b/cogl/cogl/cogl-clip-stack.h
index 3df72b36e..b06e13ec1 100644
--- a/cogl/cogl/cogl-clip-stack.h
+++ b/cogl/cogl/cogl-clip-stack.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_CLIP_STACK_H
-#define __COGL_CLIP_STACK_H
+#pragma once
#include "cogl-primitive.h"
#include "cogl-framebuffer.h"
@@ -204,5 +203,3 @@ _cogl_clip_stack_ref (CoglClipStack *stack);
void
_cogl_clip_stack_unref (CoglClipStack *stack);
-
-#endif /* __COGL_CLIP_STACK_H */
diff --git a/cogl/cogl/cogl-closure-list-private.h b/cogl/cogl/cogl-closure-list-private.h
index f4b829ba7..404e202ba 100644
--- a/cogl/cogl/cogl-closure-list-private.h
+++ b/cogl/cogl/cogl-closure-list-private.h
@@ -27,8 +27,7 @@
*
*/
-#ifndef _COGL_CLOSURE_LIST_PRIVATE_H_
-#define _COGL_CLOSURE_LIST_PRIVATE_H_
+#pragma once
#include "cogl-object.h"
#include "cogl-list.h"
@@ -114,5 +113,3 @@ _cogl_closure_list_add (CoglList *list,
_cb (_c->user_data); \
} \
} G_STMT_END
-
-#endif /* _COGL_CLOSURE_LIST_PRIVATE_H_ */
diff --git a/cogl/cogl/cogl-color-private.h b/cogl/cogl/cogl-color-private.h
index bb1a58e25..6063608cb 100644
--- a/cogl/cogl/cogl-color-private.h
+++ b/cogl/cogl/cogl-color-private.h
@@ -31,8 +31,7 @@
* Robert Bragg
*/
-#ifndef __COGL_COLOR_PRIVATE_PRIVATE_H
-#define __COGL_COLOR_PRIVATE_PRIVATE_H
+#pragma once
#include "cogl-color.h"
@@ -47,5 +46,3 @@ void
_cogl_color_get_rgba_4ubv (const CoglColor *color,
uint8_t *dest);
-#endif /* __COGL_COLOR_PRIVATE_PRIVATE_H */
-
diff --git a/cogl/cogl/cogl-color.h b/cogl/cogl/cogl-color.h
index b03245d63..2fbe963a0 100644
--- a/cogl/cogl/cogl-color.h
+++ b/cogl/cogl/cogl-color.h
@@ -28,13 +28,12 @@
*
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_COLOR_H__
-#define __COGL_COLOR_H__
-
/**
* SECTION:cogl-color
* @short_description: A generic color definition
@@ -483,5 +482,3 @@ cogl_color_init_from_hsl (CoglColor *color,
float luminance);
G_END_DECLS
-
-#endif /* __COGL_COLOR_H__ */
diff --git a/cogl/cogl/cogl-context-private.h b/cogl/cogl/cogl-context-private.h
index e3a463bf2..473fb92e0 100644
--- a/cogl/cogl/cogl-context-private.h
+++ b/cogl/cogl/cogl-context-private.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_CONTEXT_PRIVATE_H
-#define __COGL_CONTEXT_PRIVATE_H
+#pragma once
#include "cogl-context.h"
#include "cogl-flags.h"
@@ -312,5 +311,3 @@ _cogl_context_set_current_projection_entry (CoglContext *context,
void
_cogl_context_set_current_modelview_entry (CoglContext *context,
CoglMatrixEntry *entry);
-
-#endif /* __COGL_CONTEXT_PRIVATE_H */
diff --git a/cogl/cogl/cogl-context.h b/cogl/cogl/cogl-context.h
index bd43ae0f2..287019363 100644
--- a/cogl/cogl/cogl-context.h
+++ b/cogl/cogl/cogl-context.h
@@ -30,13 +30,12 @@
*
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_CONTEXT_H__
-#define __COGL_CONTEXT_H__
-
/* We forward declare the CoglContext type here to avoid some circular
* dependency issues with the following headers.
*/
@@ -370,6 +369,3 @@ COGL_EXPORT int64_t
cogl_context_get_gpu_time_ns (CoglContext *context);
G_END_DECLS
-
-#endif /* __COGL_CONTEXT_H__ */
-
diff --git a/cogl/cogl/cogl-debug.h b/cogl/cogl/cogl-debug.h
index 766c0e39f..aaafd7394 100644
--- a/cogl/cogl/cogl-debug.h
+++ b/cogl/cogl/cogl-debug.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_DEBUG_H__
-#define __COGL_DEBUG_H__
+#pragma once
#include "cogl-profile.h"
#include "cogl-flags.h"
@@ -120,6 +119,3 @@ _cogl_parse_debug_string (const char *value,
gboolean ignore_help);
G_END_DECLS
-
-#endif /* __COGL_DEBUG_H__ */
-
diff --git a/cogl/cogl/cogl-defines.h.in b/cogl/cogl/cogl-defines.h.in
index a438a9622..fe2b3340f 100644
--- a/cogl/cogl/cogl-defines.h.in
+++ b/cogl/cogl/cogl-defines.h.in
@@ -28,13 +28,10 @@
*
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_DEFINES_H__
-#define __COGL_DEFINES_H__
-
@COGL_DEFINES@
-
-#endif
diff --git a/cogl/cogl/cogl-depth-state-private.h b/cogl/cogl/cogl-depth-state-private.h
index 6c14bb9f2..3e6a0603a 100644
--- a/cogl/cogl/cogl-depth-state-private.h
+++ b/cogl/cogl/cogl-depth-state-private.h
@@ -29,10 +29,6 @@
* Robert Bragg
*/
-#ifndef __COGL_DEPTH_STATE_PRIVATE_H
-#define __COGL_DEPTH_STATE_PRIVATE_H
-
+#pragma once
#define COGL_DEPTH_STATE_MAGIC 0xDEADBEEF
-
-#endif /* __COGL_DEPTH_STATE_PRIVATE_H */
diff --git a/cogl/cogl/cogl-depth-state.h b/cogl/cogl/cogl-depth-state.h
index 339273f37..0d8fe18fb 100644
--- a/cogl/cogl/cogl-depth-state.h
+++ b/cogl/cogl/cogl-depth-state.h
@@ -30,13 +30,12 @@
*
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_DEPTH_STATE_H__
-#define __COGL_DEPTH_STATE_H__
-
G_BEGIN_DECLS
/**
@@ -223,5 +222,3 @@ cogl_depth_state_get_range (CoglDepthState *state,
float *far_val);
G_END_DECLS
-
-#endif /* __COGL_DEPTH_STATE_H__ */
diff --git a/cogl/cogl/cogl-display-private.h b/cogl/cogl/cogl-display-private.h
index e20036345..edbcd4369 100644
--- a/cogl/cogl/cogl-display-private.h
+++ b/cogl/cogl/cogl-display-private.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_DISPLAY_PRIVATE_H
-#define __COGL_DISPLAY_PRIVATE_H
+#pragma once
#include "cogl-object-private.h"
#include "cogl-display.h"
@@ -46,5 +45,3 @@ struct _CoglDisplay
void *winsys;
};
-
-#endif /* __COGL_DISPLAY_PRIVATE_H */
diff --git a/cogl/cogl/cogl-display.h b/cogl/cogl/cogl-display.h
index dc06bbc9e..b2d7b8312 100644
--- a/cogl/cogl/cogl-display.h
+++ b/cogl/cogl/cogl-display.h
@@ -30,13 +30,12 @@
*
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_DISPLAY_H__
-#define __COGL_DISPLAY_H__
-
#include
#include
@@ -195,6 +194,3 @@ COGL_EXPORT gboolean
cogl_is_display (void *object);
G_END_DECLS
-
-#endif /* __COGL_DISPLAY_H__ */
-
diff --git a/cogl/cogl/cogl-dma-buf-handle.h b/cogl/cogl/cogl-dma-buf-handle.h
index 408156684..c5ee17779 100644
--- a/cogl/cogl/cogl-dma-buf-handle.h
+++ b/cogl/cogl/cogl-dma-buf-handle.h
@@ -29,14 +29,12 @@
* Georges Basile Stavracas Neto
*/
+#pragma once
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_DMA_BUF_HANDLE_H__
-#define __COGL_DMA_BUF_HANDLE_H__
-
#include
#include
@@ -142,5 +140,3 @@ COGL_EXPORT int
cogl_dma_buf_handle_get_bpp (CoglDmaBufHandle *dmabuf_handle);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CoglDmaBufHandle, cogl_dma_buf_handle_free)
-
-#endif /* __COGL_DMA_BUF_HANDLE_H__ */
diff --git a/cogl/cogl/cogl-driver.h b/cogl/cogl/cogl-driver.h
index 4b639df87..02d4ab579 100644
--- a/cogl/cogl/cogl-driver.h
+++ b/cogl/cogl/cogl-driver.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_DRIVER_H
-#define __COGL_DRIVER_H
+#pragma once
#include "cogl-context.h"
#include "cogl-offscreen-private.h"
@@ -266,6 +265,3 @@ typedef enum /*< prefix=COGL_DRIVER_ERROR >*/
uint32_t
_cogl_driver_error_quark (void);
-
-#endif /* __COGL_DRIVER_H */
-
diff --git a/cogl/cogl/cogl-egl-defines.h.in b/cogl/cogl/cogl-egl-defines.h.in
index 648a62ddf..abdc1b9da 100644
--- a/cogl/cogl/cogl-egl-defines.h.in
+++ b/cogl/cogl/cogl-egl-defines.h.in
@@ -28,13 +28,10 @@
*
*/
-#ifndef __COGL_EGL_DEFINES_H__
-#define __COGL_EGL_DEFINES_H__
+#pragma once
#ifdef COGL_HAS_EGL_SUPPORT
@COGL_EGL_INCLUDES@
#endif /* COGL_HAS_EGL_SUPPORT */
-
-#endif
diff --git a/cogl/cogl/cogl-egl-private.h b/cogl/cogl/cogl-egl-private.h
index 0af8518f1..72e1de588 100644
--- a/cogl/cogl/cogl-egl-private.h
+++ b/cogl/cogl/cogl-egl-private.h
@@ -28,13 +28,10 @@
*
*/
-#ifndef __COGL_EGL_PRIVATE_H__
-#define __COGL_EGL_PRIVATE_H__
+#pragma once
#include "cogl-egl-defines.h"
#if defined(GL_OES_EGL_image) && !defined(GLeglImageOES)
#define GLeglImageOES void *
#endif
-
-#endif /* __COGL_EGL_PRIVATE_H__ */
diff --git a/cogl/cogl/cogl-egl.h b/cogl/cogl/cogl-egl.h
index 0d9b6778f..99a937697 100644
--- a/cogl/cogl/cogl-egl.h
+++ b/cogl/cogl/cogl-egl.h
@@ -28,32 +28,7 @@
*
*/
-#ifndef __COGL_EGL_H__
-#define __COGL_EGL_H__
-
-/* NB: this is a top-level header that can be included directly but we
- * want to be careful not to define __COGL_H_INSIDE__ when this is
- * included internally while building Cogl itself since
- * __COGL_H_INSIDE__ is used in headers to guard public vs private api
- * definitions
- */
-#ifndef COGL_COMPILATION
-
-/* Note: When building Cogl .gir we explicitly define
- * __COGL_EGL_H_INSIDE__ */
-#ifndef __COGL_EGL_H_INSIDE__
-#define __COGL_EGL_H_INSIDE__
-#endif
-
-/* Note: When building Cogl .gir we explicitly define
- * __COGL_H_INSIDE__ */
-#ifndef __COGL_H_INSIDE__
-#define __COGL_H_INSIDE__
-#define __COGL_MUST_UNDEF_COGL_H_INSIDE_COGL_EGL__
-#endif
-
-#endif /* COGL_COMPILATION */
-
+#pragma once
#include
#include
@@ -92,5 +67,3 @@ G_END_DECLS
#undef __COGL_EGL_H_INSIDE__
#undef __COGL_MUST_UNDEF_COGL_H_INSIDE_COGL_EGL__
#endif
-
-#endif /* __COGL_EGL_H__ */
diff --git a/cogl/cogl/cogl-feature-private.h b/cogl/cogl/cogl-feature-private.h
index 35ec08953..faa232ac9 100644
--- a/cogl/cogl/cogl-feature-private.h
+++ b/cogl/cogl/cogl-feature-private.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_FEATURE_PRIVATE_H
-#define __COGL_FEATURE_PRIVATE_H
+#pragma once
#include
@@ -102,5 +101,3 @@ _cogl_feature_check_ext_functions (CoglContext *context,
int gl_major,
int gl_minor,
char * const *gl_extensions);
-
-#endif /* __COGL_FEATURE_PRIVATE_H */
diff --git a/cogl/cogl/cogl-fence-private.h b/cogl/cogl/cogl-fence-private.h
index d2fe839f3..c38e857a9 100644
--- a/cogl/cogl/cogl-fence-private.h
+++ b/cogl/cogl/cogl-fence-private.h
@@ -28,8 +28,7 @@
*
*/
-#ifndef __COGL_FENCE_PRIVATE_H__
-#define __COGL_FENCE_PRIVATE_H__
+#pragma once
#include "cogl-fence.h"
#include "cogl-list.h"
@@ -62,5 +61,3 @@ _cogl_fence_submit (CoglFenceClosure *fence);
void
_cogl_fence_cancel_fences_for_framebuffer (CoglFramebuffer *framebuffer);
-
-#endif /* __COGL_FENCE_PRIVATE_H__ */
diff --git a/cogl/cogl/cogl-fence.h b/cogl/cogl/cogl-fence.h
index 15559388e..5e17409f2 100644
--- a/cogl/cogl/cogl-fence.h
+++ b/cogl/cogl/cogl-fence.h
@@ -28,13 +28,12 @@
*
*/
+#pragma once
+
#if !defined(__COGL_H_INSIDE__) && !defined(COGL_COMPILATION)
#error "Only can be included directly."
#endif
-#ifndef __COGL_FENCE_H__
-#define __COGL_FENCE_H__
-
#include
#include
@@ -121,5 +120,3 @@ cogl_framebuffer_add_fence_callback (CoglFramebuffer *framebuffer,
COGL_EXPORT void
cogl_framebuffer_cancel_fence_callback (CoglFramebuffer *framebuffer,
CoglFenceClosure *closure);
-
-#endif /* __COGL_FENCE_H__ */
diff --git a/cogl/cogl/cogl-flags.h b/cogl/cogl/cogl-flags.h
index 773818dcb..cb2764a4a 100644
--- a/cogl/cogl/cogl-flags.h
+++ b/cogl/cogl/cogl-flags.h
@@ -29,8 +29,7 @@
* Neil Roberts