summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-image.h
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-image.h')
-rw-r--r--libappstream-glib/as-image.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-image.h b/libappstream-glib/as-image.h
index f94c75d..1bbea4c 100644
--- a/libappstream-glib/as-image.h
+++ b/libappstream-glib/as-image.h
@@ -5,13 +5,12 @@
* SPDX-License-Identifier: LGPL-2.1+
*/
+#pragma once
+
#if !defined (__APPSTREAM_GLIB_H) && !defined (AS_COMPILATION)
#error "Only <appstream-glib.h> can be included directly."
#endif
-#ifndef __AS_IMAGE_H
-#define __AS_IMAGE_H
-
#include <glib-object.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
@@ -174,5 +173,3 @@ gboolean as_image_equal (AsImage *image1,
AsImage *image2);
G_END_DECLS
-
-#endif /* __AS_IMAGE_H */