gir: Use pragma once for the inclusion guard

This commit is contained in:
Emmanuele Bassi
2023-11-07 18:23:17 +00:00
parent 75800b6b09
commit b3dfaf5e97
25 changed files with 25 additions and 127 deletions

View File

@@ -22,8 +22,7 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef __GIPROPERTYINFO_H__
#define __GIPROPERTYINFO_H__
#pragma once
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
#error "Only <girepository.h> can be included directly."
@@ -59,6 +58,3 @@ GI_AVAILABLE_IN_2_70
GIFunctionInfo *g_property_info_get_getter (GIPropertyInfo *info);
G_END_DECLS
#endif /* __GIPROPERTYINFO_H__ */