summaryrefslogtreecommitdiff
path: root/xfconf/xfconf-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'xfconf/xfconf-channel.c')
-rw-r--r--xfconf/xfconf-channel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/xfconf/xfconf-channel.c b/xfconf/xfconf-channel.c
index 9d906d3..546db3b 100644
--- a/xfconf/xfconf-channel.c
+++ b/xfconf/xfconf-channel.c
@@ -1461,7 +1461,11 @@ xfconf_channel_get_array_valist(XfconfChannel *channel,
switch(cur_value_type) {
HANDLE_CASE(guchar, UCHAR, uchar)
+#if GLIB_CHECK_VERSION (2, 32, 0)
+ HANDLE_CASE(gchar, CHAR, schar)
+#else
HANDLE_CASE(gchar, CHAR, char)
+#endif
HANDLE_CASE(guint32, UINT, uint)
HANDLE_CASE(gint32, INT, int)
HANDLE_CASE(guint64, UINT64, uint64)
@@ -1637,7 +1641,11 @@ xfconf_channel_set_array_valist(XfconfChannel *channel,
switch(cur_value_type) {
HANDLE_CASE(guchar, UCHAR, uchar)
+#if GLIB_CHECK_VERSION (2, 32, 0)
+ HANDLE_CASE(gchar, CHAR, schar)
+#else
HANDLE_CASE(gchar, CHAR, char)
+#endif
HANDLE_CASE(guint32, UINT, uint)
HANDLE_CASE(gint32, INT, int)
HANDLE_CASE(guint64, UINT64, uint64)