summaryrefslogtreecommitdiff
path: root/gdk/gdkrgba.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-03-31 15:11:10 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-03-31 15:11:10 -0400
commita1c5a806b3985b442d78506f0afae476567e597a (patch)
tree43cc71a014eafe1308912667c42bbb2924f67451 /gdk/gdkrgba.h
parent515f39f161d73e4e58fcb58ed330db11c3bc8642 (diff)
downloadgtk+-a1c5a806b3985b442d78506f0afae476567e597a.tar.gz
Convert headers to #pragma once
The conversion was done by guard2one.
Diffstat (limited to 'gdk/gdkrgba.h')
-rw-r--r--gdk/gdkrgba.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdk/gdkrgba.h b/gdk/gdkrgba.h
index 4ecb4b7805..b8aca3dab9 100644
--- a/gdk/gdkrgba.h
+++ b/gdk/gdkrgba.h
@@ -22,8 +22,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#ifndef __GDK_RGBA_H__
-#define __GDK_RGBA_H__
+#pragma once
#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
@@ -73,4 +72,3 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkRGBA, gdk_rgba_free)
G_END_DECLS
-#endif /* __GDK_RGBA_H__ */