diff options
Diffstat (limited to 'gsk')
66 files changed, 66 insertions, 198 deletions
diff --git a/gsk/broadway/gskbroadwayrenderer.h b/gsk/broadway/gskbroadwayrenderer.h index 9e8d3dbe0b..ac16f326ea 100644 --- a/gsk/broadway/gskbroadwayrenderer.h +++ b/gsk/broadway/gskbroadwayrenderer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_BROADWAY_RENDERER_H__ -#define __GSK_BROADWAY_RENDERER_H__ +#pragma once #include <gdk/gdk.h> #include <gsk/gskrenderer.h> @@ -49,4 +48,3 @@ G_END_DECLS #endif /* GDK_WINDOWING_BROADWAY */ -#endif /* __GSK_BROADWAY_RENDERER_H__ */ diff --git a/gsk/gl/fp16private.h b/gsk/gl/fp16private.h index fbb95cdc1b..faeeaa2d81 100644 --- a/gsk/gl/fp16private.h +++ b/gsk/gl/fp16private.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __FP16_PRIVATE_H__ -#define __FP16_PRIVATE_H__ +#pragma once #include <glib.h> @@ -73,4 +72,3 @@ void half_to_float_c (const guint16 *h, G_END_DECLS -#endif diff --git a/gsk/gl/gskglattachmentstateprivate.h b/gsk/gl/gskglattachmentstateprivate.h index e2fdb621c6..67141b0452 100644 --- a/gsk/gl/gskglattachmentstateprivate.h +++ b/gsk/gl/gskglattachmentstateprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_ATTACHMENT_STATE_PRIVATE_H__ -#define __GSK_GL_ATTACHMENT_STATE_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -96,4 +95,3 @@ void gsk_gl_attachment_state_bind_framebuffer (GskGLAttachmentS G_END_DECLS -#endif /* __GSK_GL_ATTACHMENT_STATE_PRIVATE_H__ */ diff --git a/gsk/gl/gskglbufferprivate.h b/gsk/gl/gskglbufferprivate.h index 3f783898f0..fa4e65cc37 100644 --- a/gsk/gl/gskglbufferprivate.h +++ b/gsk/gl/gskglbufferprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_BUFFER_PRIVATE_H__ -#define __GSK_GL_BUFFER_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -79,4 +78,3 @@ gsk_gl_buffer_get_offset (GskGLBuffer *buffer) G_END_DECLS -#endif /* __GSK_GL_BUFFER_PRIVATE_H__ */ diff --git a/gsk/gl/gskglcommandqueueprivate.h b/gsk/gl/gskglcommandqueueprivate.h index cab15afbaa..c946eb9803 100644 --- a/gsk/gl/gskglcommandqueueprivate.h +++ b/gsk/gl/gskglcommandqueueprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_COMMAND_QUEUE_PRIVATE_H__ -#define __GSK_GL_COMMAND_QUEUE_PRIVATE_H__ +#pragma once #include <gsk/gskprofilerprivate.h> @@ -374,4 +373,3 @@ gsk_gl_command_queue_bind_framebuffer (GskGLCommandQueue *self, G_END_DECLS -#endif /* __GSK_GL_COMMAND_QUEUE_PRIVATE_H__ */ diff --git a/gsk/gl/gskglcompilerprivate.h b/gsk/gl/gskglcompilerprivate.h index 54f3e00836..82a2dda81a 100644 --- a/gsk/gl/gskglcompilerprivate.h +++ b/gsk/gl/gskglcompilerprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_COMPILER_PRIVATE_H__ -#define __GSK_GL_COMPILER_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -67,4 +66,3 @@ GskGLProgram * gsk_gl_compiler_compile (GskGLCompiler * G_END_DECLS -#endif /* __GSK_GL_COMPILER_PRIVATE_H__ */ diff --git a/gsk/gl/gskgldriverprivate.h b/gsk/gl/gskgldriverprivate.h index 2945aaa4e7..15340b0a1b 100644 --- a/gsk/gl/gskgldriverprivate.h +++ b/gsk/gl/gskgldriverprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_DRIVER_PRIVATE_H__ -#define __GSK_GL_DRIVER_PRIVATE_H__ +#pragma once #include <gdk/gdkgltextureprivate.h> @@ -242,4 +241,3 @@ gsk_gl_driver_slice_texture (GskGLDriver *self, G_END_DECLS -#endif /* __GSK_GL_DRIVER_PRIVATE_H__ */ diff --git a/gsk/gl/gskglglyphlibraryprivate.h b/gsk/gl/gskglglyphlibraryprivate.h index 42692f34e6..b3022b4630 100644 --- a/gsk/gl/gskglglyphlibraryprivate.h +++ b/gsk/gl/gskglglyphlibraryprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_GLYPH_LIBRARY_PRIVATE_H__ -#define __GSK_GL_GLYPH_LIBRARY_PRIVATE_H__ +#pragma once #include <pango/pango.h> @@ -102,4 +101,3 @@ gsk_gl_glyph_library_lookup_or_add (GskGLGlyphLibrary *self, G_END_DECLS -#endif /* __GSK_GL_GLYPH_LIBRARY_PRIVATE_H__ */ diff --git a/gsk/gl/gskgliconlibraryprivate.h b/gsk/gl/gskgliconlibraryprivate.h index 8c34aec2f1..dc99b546ce 100644 --- a/gsk/gl/gskgliconlibraryprivate.h +++ b/gsk/gl/gskgliconlibraryprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_ICON_LIBRARY_PRIVATE_H__ -#define __GSK_GL_ICON_LIBRARY_PRIVATE_H__ +#pragma once #include <pango/pango.h> @@ -57,4 +56,3 @@ gsk_gl_icon_library_lookup_or_add (GskGLIconLibrary *self, G_END_DECLS -#endif /* __GSK_GL_ICON_LIBRARY_PRIVATE_H__ */ diff --git a/gsk/gl/gskglprofilerprivate.h b/gsk/gl/gskglprofilerprivate.h index 5b2a24b09f..3aa0650c11 100644 --- a/gsk/gl/gskglprofilerprivate.h +++ b/gsk/gl/gskglprofilerprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_GL_PROFILER_PRIVATE_H__ -#define __GSK_GL_PROFILER_PRIVATE_H__ +#pragma once #include <gsk/gsktypes.h> @@ -15,4 +14,3 @@ guint64 gsk_gl_profiler_end_gpu_region (GskGLProfiler *profiler G_END_DECLS -#endif /* __GSK_GL_PROFILER_PRIVATE_H__ */ diff --git a/gsk/gl/gskglprogramprivate.h b/gsk/gl/gskglprogramprivate.h index 4947fb1a32..50c191eb4b 100644 --- a/gsk/gl/gskglprogramprivate.h +++ b/gsk/gl/gskglprogramprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_PROGRAM_PRIVATE_H__ -#define __GSK_GL_PROGRAM_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -301,4 +300,3 @@ gsk_gl_program_set_uniform_matrix (GskGLProgram *self, G_END_DECLS -#endif /* __GSK_GL_PROGRAM_PRIVATE_H__ */ diff --git a/gsk/gl/gskglrenderer.h b/gsk/gl/gskglrenderer.h index 818848479f..feb793ef29 100644 --- a/gsk/gl/gskglrenderer.h +++ b/gsk/gl/gskglrenderer.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_RENDERER_H__ -#define __GSK_GL_RENDERER_H__ +#pragma once #include <gsk/gskrenderer.h> @@ -47,4 +46,3 @@ GDK_DEPRECATED_IN_4_4_FOR (gsk_gl_renderer_new) GskRenderer *gsk_ngl_renderer_new (void); G_END_DECLS -#endif /* __GSK_GL_RENDERER__ */ diff --git a/gsk/gl/gskglrendererprivate.h b/gsk/gl/gskglrendererprivate.h index df23e0705f..59a7222e71 100644 --- a/gsk/gl/gskglrendererprivate.h +++ b/gsk/gl/gskglrendererprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_RENDERER_PRIVATE_H__ -#define __GSK_GL_RENDERER_PRIVATE_H__ +#pragma once #include "gskglrenderer.h" @@ -31,4 +30,3 @@ gboolean gsk_gl_renderer_try_compile_gl_shader (GskGLRenderer *renderer, G_END_DECLS -#endif /* __GSK_GL_RENDERER_PRIVATE_H__ */ diff --git a/gsk/gl/gskglrenderjobprivate.h b/gsk/gl/gskglrenderjobprivate.h index 3b92215d3a..c340bf1490 100644 --- a/gsk/gl/gskglrenderjobprivate.h +++ b/gsk/gl/gskglrenderjobprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_RENDER_JOB_H__ -#define __GSK_GL_RENDER_JOB_H__ +#pragma once #include "gskgltypesprivate.h" @@ -37,4 +36,3 @@ void gsk_gl_render_job_render_flipped (GskGLRenderJob *job void gsk_gl_render_job_set_debug_fallback (GskGLRenderJob *job, gboolean debug_fallback); -#endif /* __GSK_GL_RENDER_JOB_H__ */ diff --git a/gsk/gl/gskglshadowlibraryprivate.h b/gsk/gl/gskglshadowlibraryprivate.h index a328674731..3c3c77c9e3 100644 --- a/gsk/gl/gskglshadowlibraryprivate.h +++ b/gsk/gl/gskglshadowlibraryprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_SHADOW_LIBRARY_PRIVATE_H__ -#define __GSK_GL_SHADOW_LIBRARY_PRIVATE_H__ +#pragma once #include "gskgltexturelibraryprivate.h" @@ -41,4 +40,3 @@ void gsk_gl_shadow_library_insert (GskGLShadowLibrary *se G_END_DECLS -#endif /* __GSK_GL_SHADOW_LIBRARY_PRIVATE_H__ */ diff --git a/gsk/gl/gskgltexturelibraryprivate.h b/gsk/gl/gskgltexturelibraryprivate.h index a0292c497b..e2c3589fab 100644 --- a/gsk/gl/gskgltexturelibraryprivate.h +++ b/gsk/gl/gskgltexturelibraryprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_TEXTURE_LIBRARY_PRIVATE_H__ -#define __GSK_GL_TEXTURE_LIBRARY_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" #include "gskgltextureprivate.h" @@ -231,4 +230,3 @@ gsk_gl_texture_library_can_cache (GskGLTextureLibrary *self, G_END_DECLS -#endif /* __GSK_GL_TEXTURE_LIBRARY_PRIVATE_H__ */ diff --git a/gsk/gl/gskgltextureprivate.h b/gsk/gl/gskgltextureprivate.h index 4d25767ef4..b6cf5e42bb 100644 --- a/gsk/gl/gskgltextureprivate.h +++ b/gsk/gl/gskgltextureprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef _GSK_GL_TEXTURE_PRIVATE_H__ -#define _GSK_GL_TEXTURE_PRIVATE_H__ +#pragma once #include "gskgltypesprivate.h" @@ -90,4 +89,3 @@ void gsk_gl_texture_free (GskGLTexture G_END_DECLS -#endif /* _GSK_GL_TEXTURE_PRIVATE_H__ */ diff --git a/gsk/gl/gskgltypesprivate.h b/gsk/gl/gskgltypesprivate.h index 1250756fb7..c16c22c5a0 100644 --- a/gsk/gl/gskgltypesprivate.h +++ b/gsk/gl/gskgltypesprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __GSK_GL_TYPES_PRIVATE_H__ -#define __GSK_GL_TYPES_PRIVATE_H__ +#pragma once #include <epoxy/gl.h> #include <graphene.h> @@ -63,4 +62,3 @@ struct _GskGLDrawVertex G_END_DECLS -#endif /* __GSK_GL_TYPES_PRIVATE_H__ */ diff --git a/gsk/gl/gskgluniformstateprivate.h b/gsk/gl/gskgluniformstateprivate.h index af5c82ab07..3704be957c 100644 --- a/gsk/gl/gskgluniformstateprivate.h +++ b/gsk/gl/gskgluniformstateprivate.h @@ -18,8 +18,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef GSK_GL_UNIFORM_STATE_PRIVATE_H -#define GSK_GL_UNIFORM_STATE_PRIVATE_H +#pragma once #include "gskgltypesprivate.h" @@ -833,4 +832,3 @@ gsk_gl_uniform_state_apply (GskGLUniformState *state, G_END_DECLS -#endif /* GSK_GL_UNIFORM_STATE_PRIVATE_H */ diff --git a/gsk/gl/inlinearray.h b/gsk/gl/inlinearray.h index 98a9255c68..204513d23c 100644 --- a/gsk/gl/inlinearray.h +++ b/gsk/gl/inlinearray.h @@ -1,5 +1,4 @@ -#ifndef __INLINE_ARRAY_H__ -#define __INLINE_ARRAY_H__ +#pragma once #define DEFINE_INLINE_ARRAY(Type, prefix, ElementType) \ typedef struct _##Type { \ @@ -74,4 +73,3 @@ return element - &ar->items[0]; \ } -#endif /* __INLINE_ARRAY_H__ */ diff --git a/gsk/gl/ninesliceprivate.h b/gsk/gl/ninesliceprivate.h index 1ad905929d..7191ec5f13 100644 --- a/gsk/gl/ninesliceprivate.h +++ b/gsk/gl/ninesliceprivate.h @@ -19,8 +19,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __NINE_SLICE_PRIVATE_H__ -#define __NINE_SLICE_PRIVATE_H__ +#pragma once #include "gskgltextureprivate.h" @@ -307,4 +306,3 @@ nine_slice_grow (GskGLTextureNineSlice *slices, G_END_DECLS -#endif /* __NINE_SLICE_PRIVATE_H__ */ diff --git a/gsk/gl/stb_rect_pack.h b/gsk/gl/stb_rect_pack.h index 3ecb1c2fa2..07d0fb79a5 100644 --- a/gsk/gl/stb_rect_pack.h +++ b/gsk/gl/stb_rect_pack.h @@ -54,8 +54,7 @@ // INCLUDE SECTION // -#ifndef STB_INCLUDE_STB_RECT_PACK_H -#define STB_INCLUDE_STB_RECT_PACK_H +#pragma once #define STB_RECT_PACK_VERSION 1 @@ -187,5 +186,4 @@ struct stbrp_context } #endif -#endif @@ -15,8 +15,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_H__ -#define __GSK_H__ +#pragma once #define __GSK_H_INSIDE__ @@ -34,4 +33,3 @@ #undef __GSK_H_INSIDE__ -#endif /* __GSK_H__ */ diff --git a/gsk/gskcairoblurprivate.h b/gsk/gskcairoblurprivate.h index 81d724e897..61ddc0750d 100644 --- a/gsk/gskcairoblurprivate.h +++ b/gsk/gskcairoblurprivate.h @@ -21,8 +21,7 @@ * */ -#ifndef _GSK_CAIRO_BLUR_H -#define _GSK_CAIRO_BLUR_H +#pragma once #include <gdk/gdk.h> #include <cairo.h> @@ -51,4 +50,3 @@ cairo_t * gsk_cairo_blur_finish_drawing (cairo_t *cr, G_END_DECLS -#endif /* _GSK_CAIRO_BLUR_H */ diff --git a/gsk/gskcairorenderer.h b/gsk/gskcairorenderer.h index 249b5a7b96..df0b4a4e6e 100644 --- a/gsk/gskcairorenderer.h +++ b/gsk/gskcairorenderer.h @@ -18,8 +18,7 @@ * Authors: Benjamin Otte <otte@gnome.org> */ -#ifndef __GSK_CAIRO_RENDERER_H__ -#define __GSK_CAIRO_RENDERER_H__ +#pragma once #include <cairo.h> #include <gsk/gskrenderer.h> @@ -53,4 +52,3 @@ GskRenderer * gsk_cairo_renderer_new (void); G_END_DECLS -#endif /* __GSK_CAIRO_RENDERER_H__ */ diff --git a/gsk/gskdebugprivate.h b/gsk/gskdebugprivate.h index 36ea6de72e..bb23101b34 100644 --- a/gsk/gskdebugprivate.h +++ b/gsk/gskdebugprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_DEBUG_PRIVATE_H__ -#define __GSK_DEBUG_PRIVATE_H__ +#pragma once #include <glib.h> #include "gdk/gdkdebugprivate.h" @@ -59,4 +58,3 @@ gboolean gsk_check_debug_flags (GskDebugFlags flags); G_END_DECLS -#endif /* __GSK_DEBUG_PRIVATE_H__ */ diff --git a/gsk/gskdiffprivate.h b/gsk/gskdiffprivate.h index 6c1c67664a..144afaf833 100644 --- a/gsk/gskdiffprivate.h +++ b/gsk/gskdiffprivate.h @@ -17,8 +17,7 @@ * Authors: Benjamin Otte <otte@gnome.org> */ -#ifndef __GSK_DIFF_PRIVATE_H__ -#define __GSK_DIFF_PRIVATE_H__ +#pragma once #include <glib.h> @@ -52,4 +51,3 @@ GskDiffResult gsk_diff (gconstpointer G_END_DECLS -#endif /* __GSK_DIFF_PRIVATE_H__ */ diff --git a/gsk/gskenums.h b/gsk/gskenums.h index 92e6aa456a..5b0ac88193 100644 --- a/gsk/gskenums.h +++ b/gsk/gskenums.h @@ -15,8 +15,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_ENUMS_H__ -#define __GSK_ENUMS_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gsk/gsk.h> can be included directly." @@ -276,4 +275,3 @@ typedef enum GSK_MASK_MODE_INVERTED_LUMINANCE } GskMaskMode; -#endif /* __GSK_TYPES_H__ */ diff --git a/gsk/gskglshader.h b/gsk/gskglshader.h index bbf2f83f55..0e2fc5c165 100644 --- a/gsk/gskglshader.h +++ b/gsk/gskglshader.h @@ -16,8 +16,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_GL_SHADER_H__ -#define __GSK_GL_SHADER_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gsk/gsk.h> can be included directly." @@ -164,4 +163,3 @@ void gsk_shader_args_builder_set_vec4 (GskShaderArgsBuilder *builder, G_END_DECLS -#endif /* __GSK_GL_SHADER_H__ */ diff --git a/gsk/gskglshaderprivate.h b/gsk/gskglshaderprivate.h index 3dc82c35dc..b28a787866 100644 --- a/gsk/gskglshaderprivate.h +++ b/gsk/gskglshaderprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_GLSHADER_PRIVATE_H__ -#define __GSK_GLSHADER_PRIVATE_H__ +#pragma once #include <gsk/gskglshader.h> @@ -16,4 +15,3 @@ const GskGLUniform *gsk_gl_shader_get_uniforms (GskGLShader *shader, G_END_DECLS -#endif /* __GSK_GLSHADER_PRIVATE_H__ */ diff --git a/gsk/gskprivate.h b/gsk/gskprivate.h index a8b92b4b18..b9e32b00db 100644 --- a/gsk/gskprivate.h +++ b/gsk/gskprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_PRIVATE_H__ -#define __GSK_PRIVATE_H__ +#pragma once #include <glib.h> #include <pango/pango.h> @@ -13,4 +12,3 @@ typedef struct _GskVulkanRenderPass GskVulkanRenderPass; G_END_DECLS -#endif /* __GSK_PRIVATE_H__ */ diff --git a/gsk/gskprofilerprivate.h b/gsk/gskprofilerprivate.h index ff71d4c947..d0838d3311 100644 --- a/gsk/gskprofilerprivate.h +++ b/gsk/gskprofilerprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_PROFILER_PRIVATE_H__ -#define __GSK_PROFILER_PRIVATE_H__ +#pragma once #include <glib-object.h> @@ -53,4 +52,3 @@ void gsk_profiler_append_timers (GskProfiler *profiler, G_END_DECLS -#endif /* __GSK_PROFILER_PRIVATE_H__ */ diff --git a/gsk/gskrenderer.h b/gsk/gskrenderer.h index b14898d39d..af73141e2b 100644 --- a/gsk/gskrenderer.h +++ b/gsk/gskrenderer.h @@ -16,8 +16,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_RENDERER_H__ -#define __GSK_RENDERER_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gsk/gsk.h> can be included directly." @@ -67,4 +66,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GskRenderer, g_object_unref) G_END_DECLS -#endif /* __GSK_RENDERER_H__ */ diff --git a/gsk/gskrendererprivate.h b/gsk/gskrendererprivate.h index fcee1849f2..1496a8658c 100644 --- a/gsk/gskrendererprivate.h +++ b/gsk/gskrendererprivate.h @@ -16,8 +16,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_RENDERER_PRIVATE_H__ -#define __GSK_RENDERER_PRIVATE_H__ +#pragma once #include "gskrenderer.h" #include "gskprofilerprivate.h" @@ -61,4 +60,3 @@ void gsk_renderer_set_debug_flags (GskRenderer G_END_DECLS -#endif /* __GSK_RENDERER_PRIVATE_H__ */ diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h index 36b7ae190c..b1ceec5cea 100644 --- a/gsk/gskrendernode.h +++ b/gsk/gskrendernode.h @@ -16,8 +16,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_RENDER_NODE_H__ -#define __GSK_RENDER_NODE_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gsk/gsk.h> can be included directly." @@ -585,4 +584,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GskRenderNode, gsk_render_node_unref) G_END_DECLS -#endif /* __GSK_RENDER_NODE_H__ */ diff --git a/gsk/gskrendernodeparserprivate.h b/gsk/gskrendernodeparserprivate.h index 7994488772..e22ee9e970 100644 --- a/gsk/gskrendernodeparserprivate.h +++ b/gsk/gskrendernodeparserprivate.h @@ -1,6 +1,5 @@ -#ifndef __GSK_RENDER_NODE_PARSER_PRIVATE_H__ -#define __GSK_RENDER_NODE_PARSER_PRIVATE_H__ +#pragma once #include "gskrendernode.h" @@ -8,4 +7,3 @@ GskRenderNode * gsk_render_node_deserialize_from_bytes (GBytes *byte GskParseErrorFunc error_func, gpointer user_data); -#endif diff --git a/gsk/gskrendernodeprivate.h b/gsk/gskrendernodeprivate.h index 32acf04606..8ec971e94a 100644 --- a/gsk/gskrendernodeprivate.h +++ b/gsk/gskrendernodeprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_RENDER_NODE_PRIVATE_H__ -#define __GSK_RENDER_NODE_PRIVATE_H__ +#pragma once #include "gskrendernode.h" #include <cairo.h> @@ -121,4 +120,3 @@ gboolean gsk_render_node_use_offscreen_for_opacity (const GskRenderNode *n G_END_DECLS -#endif /* __GSK_RENDER_NODE_PRIVATE_H__ */ diff --git a/gsk/gskroundedrect.h b/gsk/gskroundedrect.h index 3dbaf0552c..ecf6f182fc 100644 --- a/gsk/gskroundedrect.h +++ b/gsk/gskroundedrect.h @@ -16,8 +16,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_ROUNDED_RECT_H__ -#define __GSK_ROUNDED_RECT_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gsk/gsk.h> can be included directly." @@ -97,4 +96,3 @@ gboolean gsk_rounded_rect_intersects_rect (const GskRounde G_END_DECLS -#endif /* __GSK_ROUNDED_RECT_H__ */ diff --git a/gsk/gskroundedrectprivate.h b/gsk/gskroundedrectprivate.h index 8cd00d3995..5be1a4ab0c 100644 --- a/gsk/gskroundedrectprivate.h +++ b/gsk/gskroundedrectprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_ROUNDED_RECT_PRIVATE_H__ -#define __GSK_ROUNDED_RECT_PRIVATE_H__ +#pragma once #include "gskroundedrect.h" @@ -38,4 +37,3 @@ char * gsk_rounded_rect_to_string (const GskRounde G_END_DECLS -#endif /* __GSK_ROUNDED_RECT_PRIVATE_H__ */ diff --git a/gsk/gsktransform.h b/gsk/gsktransform.h index 9579a684b7..54fba38c43 100644 --- a/gsk/gsktransform.h +++ b/gsk/gsktransform.h @@ -18,8 +18,7 @@ */ -#ifndef __GSK_TRANSFORM_H__ -#define __GSK_TRANSFORM_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gsk/gsk.h> can be included directly." @@ -138,4 +137,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GskTransform, gsk_transform_unref) G_END_DECLS -#endif /* __GSK_TRANSFORM_H__ */ diff --git a/gsk/gsktransformprivate.h b/gsk/gsktransformprivate.h index a7871c35f4..3d0504d5e3 100644 --- a/gsk/gsktransformprivate.h +++ b/gsk/gsktransformprivate.h @@ -18,8 +18,7 @@ */ -#ifndef __GSK_TRANSFORM_PRIVATE_H__ -#define __GSK_TRANSFORM_PRIVATE_H__ +#pragma once #include "gsktransform.h" @@ -58,5 +57,4 @@ void gsk_matrix_transform_rect (const graphene_matrix_t *m, G_END_DECLS -#endif /* __GSK_TRANSFORM_PRIVATE_H__ */ diff --git a/gsk/gsktypes.h b/gsk/gsktypes.h index f514a53364..acc8bc841b 100644 --- a/gsk/gsktypes.h +++ b/gsk/gsktypes.h @@ -15,8 +15,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_TYPES_H__ -#define __GSK_TYPES_H__ +#pragma once #if !defined (__GSK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gsk/gsk.h> can be included directly." @@ -29,4 +28,3 @@ typedef struct _GskRenderer GskRenderer; typedef struct _GskTransform GskTransform; -#endif /* __GSK_TYPES_H__ */ diff --git a/gsk/vulkan/gskvulkanblendmodepipelineprivate.h b/gsk/vulkan/gskvulkanblendmodepipelineprivate.h index 67822e4f9b..6382ed73e5 100644 --- a/gsk/vulkan/gskvulkanblendmodepipelineprivate.h +++ b/gsk/vulkan/gskvulkanblendmodepipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BLEND_MODE_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_BLEND_MODE_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -34,4 +33,3 @@ gsize gsk_vulkan_blend_mode_pipeline_draw (GskVulka G_END_DECLS -#endif /* __GSK_VULKAN_BLEND_MODE_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanblurpipelineprivate.h b/gsk/vulkan/gskvulkanblurpipelineprivate.h index 0fc2cb6705..74db815b08 100644 --- a/gsk/vulkan/gskvulkanblurpipelineprivate.h +++ b/gsk/vulkan/gskvulkanblurpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BLUR_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_BLUR_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -31,4 +30,3 @@ gsize gsk_vulkan_blur_pipeline_draw (GskVulka G_END_DECLS -#endif /* __GSK_VULKAN_BLUR_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanborderpipelineprivate.h b/gsk/vulkan/gskvulkanborderpipelineprivate.h index d82679259d..423860bfe2 100644 --- a/gsk/vulkan/gskvulkanborderpipelineprivate.h +++ b/gsk/vulkan/gskvulkanborderpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BORDER_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_BORDER_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -32,4 +31,3 @@ gsize gsk_vulkan_border_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_BORDER_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h b/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h index 975338bcf1..c8a55c1204 100644 --- a/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h +++ b/gsk/vulkan/gskvulkanboxshadowpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BOX_SHADOW_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_BOX_SHADOW_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -36,4 +35,3 @@ gsize gsk_vulkan_box_shadow_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_BOX_SHADOW_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanbufferprivate.h b/gsk/vulkan/gskvulkanbufferprivate.h index 700e400528..bdccf597c4 100644 --- a/gsk/vulkan/gskvulkanbufferprivate.h +++ b/gsk/vulkan/gskvulkanbufferprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_BUFFER_PRIVATE_H__ -#define __GSK_VULKAN_BUFFER_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> @@ -22,4 +21,3 @@ void gsk_vulkan_buffer_unmap (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_BUFFER_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanclipprivate.h b/gsk/vulkan/gskvulkanclipprivate.h index ebae166c14..03282066af 100644 --- a/gsk/vulkan/gskvulkanclipprivate.h +++ b/gsk/vulkan/gskvulkanclipprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_CLIP_PRIVATE_H__ -#define __GSK_VULKAN_CLIP_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> #include <graphene.h> @@ -54,4 +53,3 @@ gboolean gsk_vulkan_clip_contains_rect (const G G_END_DECLS -#endif /* __GSK_VULKAN_CLIP_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkancolorpipelineprivate.h b/gsk/vulkan/gskvulkancolorpipelineprivate.h index b9ae514d29..bf9280b26c 100644 --- a/gsk/vulkan/gskvulkancolorpipelineprivate.h +++ b/gsk/vulkan/gskvulkancolorpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_COLOR_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_COLOR_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -30,4 +29,3 @@ gsize gsk_vulkan_color_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_COLOR_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkancolortextpipelineprivate.h b/gsk/vulkan/gskvulkancolortextpipelineprivate.h index a549c25fcd..382e2d4497 100644 --- a/gsk/vulkan/gskvulkancolortextpipelineprivate.h +++ b/gsk/vulkan/gskvulkancolortextpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_COLOR_TEXT_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_COLOR_TEXT_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -39,4 +38,3 @@ gsize gsk_vulkan_color_text_pipeline_draw (Gs G_END_DECLS -#endif /* __GSK_VULKAN_COLOR_TEXT_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkancommandpoolprivate.h b/gsk/vulkan/gskvulkancommandpoolprivate.h index bb362f3fd9..46e02ca539 100644 --- a/gsk/vulkan/gskvulkancommandpoolprivate.h +++ b/gsk/vulkan/gskvulkancommandpoolprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_COMMAND_POOL_PRIVATE_H__ -#define __GSK_VULKAN_COMMAND_POOL_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> @@ -23,4 +22,3 @@ void gsk_vulkan_command_pool_submit_buffer (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_COMMAND_POOL_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkancrossfadepipelineprivate.h b/gsk/vulkan/gskvulkancrossfadepipelineprivate.h index da5e820365..92551c5d46 100644 --- a/gsk/vulkan/gskvulkancrossfadepipelineprivate.h +++ b/gsk/vulkan/gskvulkancrossfadepipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_CROSS_FADE_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_CROSS_FADE_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -32,4 +31,3 @@ gsize gsk_vulkan_cross_fade_pipeline_draw (GskVulka G_END_DECLS -#endif /* __GSK_VULKAN_CROSS_FADE_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkaneffectpipelineprivate.h b/gsk/vulkan/gskvulkaneffectpipelineprivate.h index 45ac6af9c8..b08ea07e15 100644 --- a/gsk/vulkan/gskvulkaneffectpipelineprivate.h +++ b/gsk/vulkan/gskvulkaneffectpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_EFFECT_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_EFFECT_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -32,4 +31,3 @@ gsize gsk_vulkan_effect_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_EFFECT_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanglyphcacheprivate.h b/gsk/vulkan/gskvulkanglyphcacheprivate.h index b31711fe6d..e7520937b7 100644 --- a/gsk/vulkan/gskvulkanglyphcacheprivate.h +++ b/gsk/vulkan/gskvulkanglyphcacheprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_GLYPH_CACHE_PRIVATE_H__ -#define __GSK_VULKAN_GLYPH_CACHE_PRIVATE_H__ +#pragma once #include <pango/pango.h> #include "gskvulkanrendererprivate.h" @@ -29,4 +28,3 @@ GskVulkanCachedGlyph *gsk_vulkan_glyph_cache_lookup (GskVulkanGlyphCache void gsk_vulkan_glyph_cache_begin_frame (GskVulkanGlyphCache *cache); -#endif /* __GSK_VULKAN_GLYPH_CACHE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanimageprivate.h b/gsk/vulkan/gskvulkanimageprivate.h index e775fe0b2c..fe82d74922 100644 --- a/gsk/vulkan/gskvulkanimageprivate.h +++ b/gsk/vulkan/gskvulkanimageprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_IMAGE_PRIVATE_H__ -#define __GSK_VULKAN_IMAGE_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> @@ -64,4 +63,3 @@ VkImageView gsk_vulkan_image_get_image_view (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_IMAGE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanlineargradientpipelineprivate.h b/gsk/vulkan/gskvulkanlineargradientpipelineprivate.h index 71b6559dc2..176cd92a70 100644 --- a/gsk/vulkan/gskvulkanlineargradientpipelineprivate.h +++ b/gsk/vulkan/gskvulkanlineargradientpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_LINEAR_GRADIENT_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_LINEAR_GRADIENT_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -39,4 +38,3 @@ gsize gsk_vulkan_linear_gradient_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_LINEAR_GRADIENT_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanmemoryprivate.h b/gsk/vulkan/gskvulkanmemoryprivate.h index 010c133018..e8f0d932ed 100644 --- a/gsk/vulkan/gskvulkanmemoryprivate.h +++ b/gsk/vulkan/gskvulkanmemoryprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_MEMORY_PRIVATE_H__ -#define __GSK_VULKAN_MEMORY_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> @@ -20,4 +19,3 @@ void gsk_vulkan_memory_unmap (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_MEMORY_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanpipelineprivate.h b/gsk/vulkan/gskvulkanpipelineprivate.h index 9adf44a1b6..3deeee978f 100644 --- a/gsk/vulkan/gskvulkanpipelineprivate.h +++ b/gsk/vulkan/gskvulkanpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_PIPELINE_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> @@ -50,4 +49,3 @@ VkPipelineLayout gsk_vulkan_pipeline_get_pipeline_layout (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanpushconstantsprivate.h b/gsk/vulkan/gskvulkanpushconstantsprivate.h index 4f6db24c5f..a52a6fe689 100644 --- a/gsk/vulkan/gskvulkanpushconstantsprivate.h +++ b/gsk/vulkan/gskvulkanpushconstantsprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_PUSH_CONSTANTS_PRIVATE_H__ -#define __GSK_VULKAN_PUSH_CONSTANTS_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> #include <graphene.h> @@ -42,4 +41,3 @@ void gsk_vulkan_push_constants_push (const G G_END_DECLS -#endif /* __GSK_VULKAN_PUSH_CONSTANTS_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanrenderer.h b/gsk/vulkan/gskvulkanrenderer.h index 7f9c642d79..d461e0876b 100644 --- a/gsk/vulkan/gskvulkanrenderer.h +++ b/gsk/vulkan/gskvulkanrenderer.h @@ -15,8 +15,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __GSK_VULKAN_RENDERER_H__ -#define __GSK_VULKAN_RENDERER_H__ +#pragma once #include <gdk/gdk.h> #include <gsk/gskrenderer.h> @@ -53,4 +52,3 @@ G_END_DECLS #endif /* GDK_WINDOWING_VULKAN */ -#endif /* __GSK_VULKAN_RENDERER_H__ */ diff --git a/gsk/vulkan/gskvulkanrendererprivate.h b/gsk/vulkan/gskvulkanrendererprivate.h index eca34ccabd..bbd43064d9 100644 --- a/gsk/vulkan/gskvulkanrendererprivate.h +++ b/gsk/vulkan/gskvulkanrendererprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_RENDERER_PRIVATE_H__ -#define __GSK_VULKAN_RENDERER_PRIVATE_H__ +#pragma once #include "gskvulkanrenderer.h" #include "gskvulkanimageprivate.h" @@ -48,4 +47,3 @@ GskVulkanCachedGlyph * gsk_vulkan_renderer_get_cached_glyph (GskVulkanRenderer * G_END_DECLS -#endif /* __GSK_VULKAN_RENDERER_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanrenderpassprivate.h b/gsk/vulkan/gskvulkanrenderpassprivate.h index 379db3bac2..fa5089a714 100644 --- a/gsk/vulkan/gskvulkanrenderpassprivate.h +++ b/gsk/vulkan/gskvulkanrenderpassprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_RENDER_PASS_PRIVATE_H__ -#define __GSK_VULKAN_RENDER_PASS_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> #include <gsk/gskrendernode.h> @@ -42,4 +41,3 @@ gsize gsk_vulkan_render_pass_get_signal_semaphores (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_RENDER_PASS_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanrenderprivate.h b/gsk/vulkan/gskvulkanrenderprivate.h index 29f37eb95d..1f7a23db38 100644 --- a/gsk/vulkan/gskvulkanrenderprivate.h +++ b/gsk/vulkan/gskvulkanrenderprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_RENDER_PRIVATE_H__ -#define __GSK_VULKAN_RENDER_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> #include <gsk/gskrendernode.h> @@ -92,4 +91,3 @@ VkFramebuffer gsk_vulkan_render_get_framebuffer (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_RENDER_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkanshaderprivate.h b/gsk/vulkan/gskvulkanshaderprivate.h index e94424f30a..3f35b6b77f 100644 --- a/gsk/vulkan/gskvulkanshaderprivate.h +++ b/gsk/vulkan/gskvulkanshaderprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_SHADER_PRIVATE_H__ -#define __GSK_VULKAN_SHADER_PRIVATE_H__ +#pragma once #include <gdk/gdk.h> @@ -31,4 +30,3 @@ VkShaderModule gsk_vulkan_shader_get_module (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_SHADER_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkantextpipelineprivate.h b/gsk/vulkan/gskvulkantextpipelineprivate.h index c186c4d983..59d0a2da45 100644 --- a/gsk/vulkan/gskvulkantextpipelineprivate.h +++ b/gsk/vulkan/gskvulkantextpipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_TEXT_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_TEXT_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -40,4 +39,3 @@ gsize gsk_vulkan_text_pipeline_draw (GskVulka G_END_DECLS -#endif /* __GSK_VULKAN_TEXT_PIPELINE_PRIVATE_H__ */ diff --git a/gsk/vulkan/gskvulkantexturepipelineprivate.h b/gsk/vulkan/gskvulkantexturepipelineprivate.h index c6435c41ad..a4f5f8b173 100644 --- a/gsk/vulkan/gskvulkantexturepipelineprivate.h +++ b/gsk/vulkan/gskvulkantexturepipelineprivate.h @@ -1,5 +1,4 @@ -#ifndef __GSK_VULKAN_TEXTURE_PIPELINE_PRIVATE_H__ -#define __GSK_VULKAN_TEXTURE_PIPELINE_PRIVATE_H__ +#pragma once #include <graphene.h> @@ -30,4 +29,3 @@ gsize gsk_vulkan_texture_pipeline_draw (GskVulk G_END_DECLS -#endif /* __GSK_VULKAN_TEXTURE_PIPELINE_PRIVATE_H__ */ |