diff options
author | Martin Ejdestig <marejde@gmail.com> | 2013-07-02 19:53:04 +0200 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-07-03 09:03:20 -0400 |
commit | 4cd7bcaf00f26e60b7f76c7db91fcdefb9c0ae95 (patch) | |
tree | 2bc383bfb2e56de056f6a5dc867a93e4fbf3836f | |
parent | cb4469600c5146a48501a31e9a3fb9bfc261477d (diff) | |
download | glib-4cd7bcaf00f26e60b7f76c7db91fcdefb9c0ae95.tar.gz |
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
-rw-r--r-- | gio/gsettingsschema.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gsettingsschema.h b/gio/gsettingsschema.h index a857758c1..20bf99fbd 100644 --- a/gio/gsettingsschema.h +++ b/gio/gsettingsschema.h @@ -23,6 +23,8 @@ #include <glib-object.h> +G_BEGIN_DECLS + typedef struct _GSettingsSchemaSource GSettingsSchemaSource; typedef struct _GSettingsSchema GSettingsSchema; @@ -62,4 +64,6 @@ const gchar * g_settings_schema_get_id (GSettin GLIB_AVAILABLE_IN_2_32 const gchar * g_settings_schema_get_path (GSettingsSchema *schema); +G_END_DECLS + #endif /* __G_SETTINGS_SCHEMA_H__ */ |