[gnome-builder] style-guide: use #pragma once for gstyle



commit d6713eeaa8a497ab26fdb65af95275ad5736599c
Author: Christian Hergert <chergert redhat com>
Date:   Sun Sep 24 13:54:58 2017 -0700

    style-guide: use #pragma once for gstyle

 src/gstyle/gstyle-animation.h            |    5 +----
 src/gstyle/gstyle-cielab.h               |    5 +----
 src/gstyle/gstyle-color-component.h      |    6 +-----
 src/gstyle/gstyle-color-convert.h        |    5 +----
 src/gstyle/gstyle-color-filter.h         |    6 +-----
 src/gstyle/gstyle-color-item.h           |    5 +----
 src/gstyle/gstyle-color-panel-actions.h  |    6 +-----
 src/gstyle/gstyle-color-panel-private.h  |    6 +-----
 src/gstyle/gstyle-color-panel.h          |    6 +-----
 src/gstyle/gstyle-color-plane.h          |    6 +-----
 src/gstyle/gstyle-color-predefined.h     |    5 +----
 src/gstyle/gstyle-color-scale.h          |    5 +----
 src/gstyle/gstyle-color-widget-actions.h |    5 +----
 src/gstyle/gstyle-color-widget.h         |    4 +---
 src/gstyle/gstyle-color.h                |    5 +----
 src/gstyle/gstyle-colorlexer.h           |    5 +----
 src/gstyle/gstyle-css-provider.h         |    6 +-----
 src/gstyle/gstyle-eyedropper.h           |    5 +----
 src/gstyle/gstyle-hsv.h                  |    5 +----
 src/gstyle/gstyle-palette-widget.h       |    6 +-----
 src/gstyle/gstyle-palette.h              |    5 +----
 src/gstyle/gstyle-private.h              |    5 +----
 src/gstyle/gstyle-rename-popover.h       |    6 +-----
 src/gstyle/gstyle-revealer.h             |    5 +----
 src/gstyle/gstyle-slidein.h              |    5 +----
 src/gstyle/gstyle-types.h                |    6 +-----
 src/gstyle/gstyle-utils.h                |    5 +----
 src/gstyle/gstyle-xyz.h                  |    5 +----
 28 files changed, 28 insertions(+), 121 deletions(-)
---
diff --git a/src/gstyle/gstyle-animation.h b/src/gstyle/gstyle-animation.h
index a28be56..8694401 100644
--- a/src/gstyle/gstyle-animation.h
+++ b/src/gstyle/gstyle-animation.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_ANIMATION_H
-#define GSTYLE_ANIMATION_H
+#pragma once
 
 #include <glib.h>
 
@@ -27,5 +26,3 @@ gdouble           gstyle_animation_ease_in_out_cubic         (gdouble   offset);
 gboolean          gstyle_animation_check_enable_animation    (void);
 
 G_END_DECLS
-
-#endif /* GSTYLE_ANIMATION_H */
diff --git a/src/gstyle/gstyle-cielab.h b/src/gstyle/gstyle-cielab.h
index 32acaef..cc8af6d 100644
--- a/src/gstyle/gstyle-cielab.h
+++ b/src/gstyle/gstyle-cielab.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_CIELAB_H
-#define GSTYLE_CIELAB_H
+#pragma once
 
 #include <glib.h>
 
@@ -41,5 +40,3 @@ GstyleCielab  *gstyle_cielab_copy                    (const GstyleCielab  *self)
 void           gstyle_cielab_free                    (GstyleCielab        *self);
 
 G_END_DECLS
-
-#endif /* GSTYLE_CIELAB_H */
diff --git a/src/gstyle/gstyle-color-component.h b/src/gstyle/gstyle-color-component.h
index a7f694e..52249de 100644
--- a/src/gstyle/gstyle-color-component.h
+++ b/src/gstyle/gstyle-color-component.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_COMPONENT_H
-#define GSTYLE_COLOR_COMPONENT_H
+#pragma once
 
 #include <glib.h>
 
@@ -40,6 +39,3 @@ typedef enum {
 } GstyleColorComponent;
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_COMPONENT_H */
-
diff --git a/src/gstyle/gstyle-color-convert.h b/src/gstyle/gstyle-color-convert.h
index 7f2071a..fdbe45d 100644
--- a/src/gstyle/gstyle-color-convert.h
+++ b/src/gstyle/gstyle-color-convert.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_CONVERT_H
-#define GSTYLE_COLOR_CONVERT_H
+#pragma once
 
 #include <glib.h>
 #include <gdk/gdk.h>
@@ -71,5 +70,3 @@ void                  gstyle_color_convert_xyz_to_hsv       (GstyleXYZ
                                                              gdouble             *value);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_CONVERT_H */
diff --git a/src/gstyle/gstyle-color-filter.h b/src/gstyle/gstyle-color-filter.h
index d202fb4..10a159e 100644
--- a/src/gstyle/gstyle-color-filter.h
+++ b/src/gstyle/gstyle-color-filter.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_FILTER_H
-#define GSTYLE_COLOR_FILTER_H
+#pragma once
 
 #include <glib.h>
 #include <gdk/gdk.h>
@@ -73,6 +72,3 @@ void           gstyle_color_filter_websafe        (GdkRGBA          *rgba,
                                                    gpointer          user_data);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_FILTER_H */
-
diff --git a/src/gstyle/gstyle-color-item.h b/src/gstyle/gstyle-color-item.h
index 20a12d9..f887d26 100644
--- a/src/gstyle/gstyle-color-item.h
+++ b/src/gstyle/gstyle-color-item.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_ITEM_H
-#define GSTYLE_COLOR_ITEM_H
+#pragma once
 
 #include <glib.h>
 
@@ -54,5 +53,3 @@ guint                gstyle_color_item_get_start               (GstyleColorItem
 guint                gstyle_color_item_get_len                 (GstyleColorItem  *self);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_ITEM_H */
diff --git a/src/gstyle/gstyle-color-panel-actions.h b/src/gstyle/gstyle-color-panel-actions.h
index 9a59593..9260e8d 100644
--- a/src/gstyle/gstyle-color-panel-actions.h
+++ b/src/gstyle/gstyle-color-panel-actions.h
@@ -15,8 +15,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-#ifndef GSTYLE_COLOR_PANEL_ACTIONS_H
-#define GSTYLE_COLOR_PANEL_ACTIONS_H
+#pragma once
 
 #include <glib-object.h>
 
@@ -27,6 +26,3 @@ G_BEGIN_DECLS
 void gstyle_color_panel_actions_init   (GstyleColorPanel *self);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_PANEL_ACTIONS_H */
-
diff --git a/src/gstyle/gstyle-color-panel-private.h b/src/gstyle/gstyle-color-panel-private.h
index 4bf497e..ad4d6b6 100644
--- a/src/gstyle/gstyle-color-panel-private.h
+++ b/src/gstyle/gstyle-color-panel-private.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_PANEL_PRIVATE_H
-#define GSTYLE_COLOR_PANEL_PRIVATE_H
+#pragma once
 
 #include <glib-object.h>
 
@@ -148,6 +147,3 @@ void                  _gstyle_color_panel_update_prefs_page                   (G
                                                                                const gchar            
*page_name);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_PANEL_PRIVATE_H */
-
diff --git a/src/gstyle/gstyle-color-panel.h b/src/gstyle/gstyle-color-panel.h
index c1ca2af..66464c0 100644
--- a/src/gstyle/gstyle-color-panel.h
+++ b/src/gstyle/gstyle-color-panel.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_PANEL_H
-#define GSTYLE_COLOR_PANEL_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -78,6 +77,3 @@ void                        gstyle_color_panel_show_palette                (Gsty
                                                                             GstylePalette       *palette);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_PANEL_H */
-
diff --git a/src/gstyle/gstyle-color-plane.h b/src/gstyle/gstyle-color-plane.h
index abf9467..bfd6922 100644
--- a/src/gstyle/gstyle-color-plane.h
+++ b/src/gstyle/gstyle-color-plane.h
@@ -20,8 +20,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_PLANE_H
-#define GSTYLE_COLOR_PLANE_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -84,6 +83,3 @@ void                   gstyle_color_plane_set_xyz                       (GstyleC
                                                                          const GstyleXYZ        *xyz);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_PLANE_H */
-
diff --git a/src/gstyle/gstyle-color-predefined.h b/src/gstyle/gstyle-color-predefined.h
index 6573d77..9939fd2 100644
--- a/src/gstyle/gstyle-color-predefined.h
+++ b/src/gstyle/gstyle-color-predefined.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_PREDEFINED_H
-#define GSTYLE_COLOR_PREDEFINED_H
+#pragma once
 
 #include <glib.h>
 
@@ -185,5 +184,3 @@ static NamedColor predefined_colors_table[] =
 };
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_PREDEFINED_H */
diff --git a/src/gstyle/gstyle-color-scale.h b/src/gstyle/gstyle-color-scale.h
index d7b8539..d39d467 100644
--- a/src/gstyle/gstyle-color-scale.h
+++ b/src/gstyle/gstyle-color-scale.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_SCALE_H
-#define GSTYLE_COLOR_SCALE_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -74,5 +73,3 @@ void                    gstyle_color_scale_set_kind                    (GstyleCo
                                                                         GstyleColorScaleKind   kind);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_SCALE_H */
diff --git a/src/gstyle/gstyle-color-widget-actions.h b/src/gstyle/gstyle-color-widget-actions.h
index 6221324..763cb32 100644
--- a/src/gstyle/gstyle-color-widget-actions.h
+++ b/src/gstyle/gstyle-color-widget-actions.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_WIDGET_ACTIONS_H
-#define GSTYLE_COLOR_WIDGET_ACTIONS_H
+#pragma once
 
 #include <glib.h>
 
@@ -28,5 +27,3 @@ G_BEGIN_DECLS
 void gstyle_color_widget_actions_init   (GstyleColorWidget *self);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_WIDGET_ACTIONS_H */
diff --git a/src/gstyle/gstyle-color-widget.h b/src/gstyle/gstyle-color-widget.h
index 14c5d85..f6157a3 100644
--- a/src/gstyle/gstyle-color-widget.h
+++ b/src/gstyle/gstyle-color-widget.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_WIDGET_H
-#define GSTYLE_COLOR_WIDGET_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -74,4 +73,3 @@ void                   gstyle_color_widget_set_filter_func           (GstyleColo
 G_END_DECLS
 
 #endif /* GSTYLE_TYPE_COLOR_WIDGET */
-
diff --git a/src/gstyle/gstyle-color.h b/src/gstyle/gstyle-color.h
index 49d1bed..e666025 100644
--- a/src/gstyle/gstyle-color.h
+++ b/src/gstyle/gstyle-color.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLOR_H
-#define GSTYLE_COLOR_H
+#pragma once
 
 #include <glib-object.h>
 #include <gdk/gdk.h>
@@ -106,5 +105,3 @@ void                 gstyle_color_fill_rgba                   (GstyleColor
                                                                GdkRGBA          *rgba);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLOR_H */
diff --git a/src/gstyle/gstyle-colorlexer.h b/src/gstyle/gstyle-colorlexer.h
index 26d4f64..c86cc95 100644
--- a/src/gstyle/gstyle-colorlexer.h
+++ b/src/gstyle/gstyle-colorlexer.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_COLORLEXER_H
-#define GSTYLE_COLORLEXER_H
+#pragma once
 
 #include "gstyle-types.h"
 #include "gstyle-color.h"
@@ -44,5 +43,3 @@ typedef enum
 GPtrArray       *gstyle_colorlexer_parse       (const gchar     *data);
 
 G_END_DECLS
-
-#endif /* GSTYLE_COLORLEXER_H */
diff --git a/src/gstyle/gstyle-css-provider.h b/src/gstyle/gstyle-css-provider.h
index f3a8275..76cabee 100644
--- a/src/gstyle/gstyle-css-provider.h
+++ b/src/gstyle/gstyle-css-provider.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_CSS_PROVIDER_H
-#define GSTYLE_CSS_PROVIDER_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -32,6 +31,3 @@ GstyleCssProvider      *gstyle_css_provider_init_default       (GdkScreen *scree
 GstyleCssProvider      *gstyle_css_provider_new                (void);
 
 G_END_DECLS
-
-#endif /* GSTYLE_CSS_PROVIDER_H */
-
diff --git a/src/gstyle/gstyle-eyedropper.h b/src/gstyle/gstyle-eyedropper.h
index bab4905..fc2ea11 100644
--- a/src/gstyle/gstyle-eyedropper.h
+++ b/src/gstyle/gstyle-eyedropper.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_EYEDROPPER_H
-#define GSTYLE_EYEDROPPER_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -31,5 +30,3 @@ G_DECLARE_FINAL_TYPE (GstyleEyedropper, gstyle_eyedropper, GSTYLE, EYEDROPPER, G
 GstyleEyedropper       *gstyle_eyedropper_new       (GdkEvent       *event);
 
 G_END_DECLS
-
-#endif /* GSTYLE_EYEDROPPER_H */
diff --git a/src/gstyle/gstyle-hsv.h b/src/gstyle/gstyle-hsv.h
index c93f542..478d04e 100644
--- a/src/gstyle/gstyle-hsv.h
+++ b/src/gstyle/gstyle-hsv.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_HSV_H
-#define GSTYLE_HSV_H
+#pragma once
 
 #include <glib.h>
 
@@ -41,5 +40,3 @@ GstyleHSV     *gstyle_hsv_copy                    (const GstyleHSV  *self);
 void           gstyle_hsv_free                    (GstyleHSV        *self);
 
 G_END_DECLS
-
-#endif /* GSTYLE_HSV_H */
diff --git a/src/gstyle/gstyle-palette-widget.h b/src/gstyle/gstyle-palette-widget.h
index f4b240f..ca44360 100644
--- a/src/gstyle/gstyle-palette-widget.h
+++ b/src/gstyle/gstyle-palette-widget.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_PALETTE_WIDGET_H
-#define GSTYLE_PALETTE_WIDGET_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -95,6 +94,3 @@ gboolean                         gstyle_palette_widget_show_palette
 GstylePaletteWidget             *gstyle_palette_widget_new                       (void);
 
 G_END_DECLS
-
-#endif /* GSTYLE_PALETTE_WIDGET_H */
-
diff --git a/src/gstyle/gstyle-palette.h b/src/gstyle/gstyle-palette.h
index 9a179ac..9c1fdf2 100644
--- a/src/gstyle/gstyle-palette.h
+++ b/src/gstyle/gstyle-palette.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_PALETTE_H
-#define GSTYLE_PALETTE_H
+#pragma once
 
 #include <glib-object.h>
 #include <gio/gio.h>
@@ -91,5 +90,3 @@ void                gstyle_palette_set_id                (GstylePalette  *self,
                                                           const gchar    *id);
 
 G_END_DECLS
-
-#endif /* GSTYLE_PALETTE_H */
diff --git a/src/gstyle/gstyle-private.h b/src/gstyle/gstyle-private.h
index 7a55e19..e3cceeb 100644
--- a/src/gstyle/gstyle-private.h
+++ b/src/gstyle/gstyle-private.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_PRIVATE_H
-#define GSTYLE_PRIVATE_H
+#pragma once
 
 #include <glib-object.h>
 
@@ -27,5 +26,3 @@ G_BEGIN_DECLS
 #include "gstyle-utils.h"
 
 G_END_DECLS
-
-#endif /* GSTYLE_PRIVATE_H */
diff --git a/src/gstyle/gstyle-rename-popover.h b/src/gstyle/gstyle-rename-popover.h
index 509042b..853cc1f 100644
--- a/src/gstyle/gstyle-rename-popover.h
+++ b/src/gstyle/gstyle-rename-popover.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_RENAME_POPOVER_H
-#define GSTYLE_RENAME_POPOVER_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -40,6 +39,3 @@ void                     gstyle_rename_popover_set_name           (GstyleRenameP
                                                                    const gchar            *name);
 
 G_END_DECLS
-
-#endif /* GSTYLE_RENAME_POPOVER_H */
-
diff --git a/src/gstyle/gstyle-revealer.h b/src/gstyle/gstyle-revealer.h
index b159873..e6fe9f1 100644
--- a/src/gstyle/gstyle-revealer.h
+++ b/src/gstyle/gstyle-revealer.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_REVEALER_H
-#define GSTYLE_REVEALER_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -33,5 +32,3 @@ void              gstyle_revealer_set_reveal_child     (GstyleRevealer *self,
                                                         gboolean        reveal);
 
 G_END_DECLS
-
-#endif /* GSTYLE_REVEALER_H */
diff --git a/src/gstyle/gstyle-slidein.h b/src/gstyle/gstyle-slidein.h
index 1691193..0384997 100644
--- a/src/gstyle/gstyle-slidein.h
+++ b/src/gstyle/gstyle-slidein.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_SLIDEIN_H
-#define GSTYLE_SLIDEIN_H
+#pragma once
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
@@ -60,5 +59,3 @@ void                         gstyle_slidein_set_interpolate_size             (Gs
 void                         gstyle_slidein_set_slide_fraction               (GstyleSlidein               
*self,
                                                                               gdouble                      
slide_fraction);
 G_END_DECLS
-
-#endif /* GSTYLE_SLIDEIN_H */
diff --git a/src/gstyle/gstyle-types.h b/src/gstyle/gstyle-types.h
index 30b9534..e7f2e7e 100644
--- a/src/gstyle/gstyle-types.h
+++ b/src/gstyle/gstyle-types.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_TYPES_H
-#define GSTYLE_TYPES_H
+#pragma once
 
 #include <glib-object.h>
 
@@ -29,6 +28,3 @@ typedef struct _GstyleXYZ               GstyleXYZ;
 typedef struct _GstyleColorItem         GstyleColorItem;
 
 G_END_DECLS
-
-#endif /* GSTYLE_TYPES_H */
-
diff --git a/src/gstyle/gstyle-utils.h b/src/gstyle/gstyle-utils.h
index 9f49868..f292095 100644
--- a/src/gstyle/gstyle-utils.h
+++ b/src/gstyle/gstyle-utils.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_UTILS_H
-#define GSTYLE_UTILS_H
+#pragma once
 
 #include <glib.h>
 #include <cairo.h>
@@ -93,5 +92,3 @@ gstyle_utils_cmp_border (GtkBorder border1,
   
((obj!=*(ptr))?(gstyle_clear_weak_pointer(ptr),*(ptr)=obj,((obj)?g_object_add_weak_pointer((GObject*)obj,(gpointer*)ptr),NULL:NULL),1):0)
 
 G_END_DECLS
-
-#endif /* GSTYLE_UTILS_H */
diff --git a/src/gstyle/gstyle-xyz.h b/src/gstyle/gstyle-xyz.h
index 1b3550f..4a3ae35 100644
--- a/src/gstyle/gstyle-xyz.h
+++ b/src/gstyle/gstyle-xyz.h
@@ -16,8 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GSTYLE_XYZ_H
-#define GSTYLE_XYZ_H
+#pragma once
 
 #include <glib.h>
 
@@ -41,5 +40,3 @@ GstyleXYZ     *gstyle_xyz_copy                    (const GstyleXYZ  *self);
 void           gstyle_xyz_free                    (GstyleXYZ        *self);
 
 G_END_DECLS
-
-#endif /* GSTYLE_XYZ_H */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]