summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2021-03-03 21:13:28 +0100
committerChristian Persch <chpe@src.gnome.org>2021-03-03 21:13:28 +0100
commitf860ddcc6a501b982d82c5630c73936bd611ad8a (patch)
treef4166998c3c6afa1ff96acecd0ad6626486b6c56
parent7e6151da48be8d3650337b7c7e480c48821f8028 (diff)
downloaddconf-wip/issue-23.tar.gz
common: Add missing G_BEGIN/END_DECLSwip/issue-23
Fixes: https://gitlab.gnome.org/GNOME/dconf/-/issues/23
-rw-r--r--common/dconf-changeset.h4
-rw-r--r--common/dconf-enums.h4
-rw-r--r--common/dconf-paths.h4
3 files changed, 12 insertions, 0 deletions
diff --git a/common/dconf-changeset.h b/common/dconf-changeset.h
index 6fe60f2..8eaea8c 100644
--- a/common/dconf-changeset.h
+++ b/common/dconf-changeset.h
@@ -22,6 +22,8 @@
#include <glib.h>
+G_BEGIN_DECLS
+
typedef struct _DConfChangeset DConfChangeset;
typedef gboolean (* DConfChangesetPredicate) (const gchar *path,
@@ -75,4 +77,6 @@ void dconf_changeset_seal (DConfCh
G_DEFINE_AUTOPTR_CLEANUP_FUNC(DConfChangeset, dconf_changeset_unref)
+G_END_DECLS
+
#endif /* __dconf_changeset_h__ */
diff --git a/common/dconf-enums.h b/common/dconf-enums.h
index 2f10d1a..67deabb 100644
--- a/common/dconf-enums.h
+++ b/common/dconf-enums.h
@@ -22,6 +22,8 @@
#include <glib.h>
+G_BEGIN_DECLS
+
#define DCONF_ERROR (dconf_error_quark ())
GQuark dconf_error_quark (void);
@@ -39,4 +41,6 @@ typedef enum
DCONF_READ_USER_VALUE = (1u << 1)
} DConfReadFlags;
+G_END_DECLS
+
#endif /* __dconf_error_h__ */
diff --git a/common/dconf-paths.h b/common/dconf-paths.h
index 9449fa5..1bc9b78 100644
--- a/common/dconf-paths.h
+++ b/common/dconf-paths.h
@@ -23,6 +23,8 @@
#include <glib.h>
+G_BEGIN_DECLS
+
gboolean dconf_is_path (const gchar *string,
GError **error);
gboolean dconf_is_key (const gchar *string,
@@ -37,4 +39,6 @@ gboolean dconf_is_rel_key (const g
gboolean dconf_is_rel_dir (const gchar *string,
GError **error);
+G_END_DECLS
+
#endif /* __dconf_paths_h__ */