mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Add missing G_BEGIN/END_DECLS to gsettingsschema.h.
Without this fix, using any of the enclosed functions when building with a C++ compiler will result in undefined references. https://bugzilla.gnome.org/show_bug.cgi?id=703478
This commit is contained in:
parent
cb4469600c
commit
4cd7bcaf00
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GSettingsSchemaSource GSettingsSchemaSource;
|
typedef struct _GSettingsSchemaSource GSettingsSchemaSource;
|
||||||
typedef struct _GSettingsSchema GSettingsSchema;
|
typedef struct _GSettingsSchema GSettingsSchema;
|
||||||
|
|
||||||
@ -62,4 +64,6 @@ const gchar * g_settings_schema_get_id (GSettin
|
|||||||
GLIB_AVAILABLE_IN_2_32
|
GLIB_AVAILABLE_IN_2_32
|
||||||
const gchar * g_settings_schema_get_path (GSettingsSchema *schema);
|
const gchar * g_settings_schema_get_path (GSettingsSchema *schema);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __G_SETTINGS_SCHEMA_H__ */
|
#endif /* __G_SETTINGS_SCHEMA_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user