diff options
Diffstat (limited to 'libappstream-glib/as-translation.h')
-rw-r--r-- | libappstream-glib/as-translation.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-translation.h b/libappstream-glib/as-translation.h index 4be5297..4fb5c80 100644 --- a/libappstream-glib/as-translation.h +++ b/libappstream-glib/as-translation.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_TRANSLATION_H -#define __AS_TRANSLATION_H - #include <glib-object.h> G_BEGIN_DECLS @@ -66,5 +65,3 @@ void as_translation_set_kind (AsTranslation *translation, AsTranslationKind kind); G_END_DECLS - -#endif /* __AS_TRANSLATION_H */ |