summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-11-02 14:54:19 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-11-02 16:13:57 +0000
commit85976cf91deae6ac7cf1639a187a424ff7296968 (patch)
tree5f931b19c9f20d56a57e43a887eee7bcdcd0d411 /gio
parent7b1f8c582a699305bdbeadebb5628f54112c7220 (diff)
downloadglib-85976cf91deae6ac7cf1639a187a424ff7296968.tar.gz
Bring back a couple of private-but-extern symbols
These both existed in 2.34.1, but are not exposed in headers, and were meant to be private. Making them static (in commit 84475e43) was technically an ABI break, and in particular it causes abicheck.sh to fail. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441 Reviewed-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'gio')
-rw-r--r--gio/gmenumodel.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gio/gmenumodel.c b/gio/gmenumodel.c
index f9cd8267c..822e15580 100644
--- a/gio/gmenumodel.c
+++ b/gio/gmenumodel.c
@@ -195,7 +195,9 @@ typedef struct
typedef GMenuLinkIterClass GMenuLinkHashIterClass;
-static GType g_menu_link_hash_iter_get_type (void);
+/* Strictly speaking, this is (unintentionally) ABI now, but don't use it
+ * outside GIO. bgo#687441 */
+GType g_menu_link_hash_iter_get_type (void);
G_DEFINE_TYPE (GMenuLinkHashIter, g_menu_link_hash_iter, G_TYPE_MENU_LINK_ITER)
@@ -251,7 +253,9 @@ typedef struct
typedef GMenuAttributeIterClass GMenuAttributeHashIterClass;
-static GType g_menu_attribute_hash_iter_get_type (void);
+/* Strictly speaking, this is (unintentionally) ABI now, but don't use it
+ * outside GIO. bgo#687441 */
+GType g_menu_attribute_hash_iter_get_type (void);
G_DEFINE_TYPE (GMenuAttributeHashIter, g_menu_attribute_hash_iter, G_TYPE_MENU_ATTRIBUTE_ITER)