summaryrefslogtreecommitdiff
path: root/gio/gmenumodel.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-11-01 19:36:15 -0400
committerColin Walters <walters@verbum.org>2012-11-01 20:12:02 -0400
commit84475e4320347e637ac2fc84c9dc28b1668c8772 (patch)
tree36481150a53a71ee85c953aff4f3f0fa0fae7293 /gio/gmenumodel.c
parent6d88a2f82294ffd6f75436e3f8e72b30fd591a03 (diff)
downloadglib-84475e4320347e637ac2fc84c9dc28b1668c8772.tar.gz
build: Prototype GType accessors for private classes
Otherwise we fail to build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385
Diffstat (limited to 'gio/gmenumodel.c')
-rw-r--r--gio/gmenumodel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gmenumodel.c b/gio/gmenumodel.c
index 47860d215..f9cd8267c 100644
--- a/gio/gmenumodel.c
+++ b/gio/gmenumodel.c
@@ -195,6 +195,8 @@ typedef struct
typedef GMenuLinkIterClass GMenuLinkHashIterClass;
+static GType g_menu_link_hash_iter_get_type (void);
+
G_DEFINE_TYPE (GMenuLinkHashIter, g_menu_link_hash_iter, G_TYPE_MENU_LINK_ITER)
static gboolean
@@ -249,6 +251,8 @@ typedef struct
typedef GMenuAttributeIterClass GMenuAttributeHashIterClass;
+static GType g_menu_attribute_hash_iter_get_type (void);
+
G_DEFINE_TYPE (GMenuAttributeHashIter, g_menu_attribute_hash_iter, G_TYPE_MENU_ATTRIBUTE_ITER)
static gboolean