diff options
author | Colin Walters <walters@verbum.org> | 2012-11-01 19:36:15 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-11-01 20:12:02 -0400 |
commit | 84475e4320347e637ac2fc84c9dc28b1668c8772 (patch) | |
tree | 36481150a53a71ee85c953aff4f3f0fa0fae7293 /gio/gmenumodel.c | |
parent | 6d88a2f82294ffd6f75436e3f8e72b30fd591a03 (diff) | |
download | glib-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.c | 4 |
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 |