summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-enums.h
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-enums.h')
-rw-r--r--libappstream-glib/as-enums.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-enums.h b/libappstream-glib/as-enums.h
index 2e1995c..4671551 100644
--- a/libappstream-glib/as-enums.h
+++ b/libappstream-glib/as-enums.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_ENUMS_H
-#define __AS_ENUMS_H
-
#include <glib.h>
G_BEGIN_DECLS
@@ -163,5 +162,3 @@ G_DEPRECATED_FOR(as_app_kind_from_string);
G_GNUC_END_IGNORE_DEPRECATIONS
G_END_DECLS
-
-#endif /* __AS_ENUMS_H */