[Xfce4-commits] <xfconf:master> And another g_value_get_char.
Nick Schermer
noreply at xfce.org
Wed Apr 18 19:56:01 CEST 2012
Updating branch refs/heads/master
to 60931557ee90ef7fc40daf2547e7047545140d66 (commit)
from b86f57645efc88921eb2111323a287c5260bd4d6 (commit)
commit 60931557ee90ef7fc40daf2547e7047545140d66
Author: Nick Schermer <nick at xfce.org>
Date: Wed Apr 18 19:53:37 2012 +0200
And another g_value_get_char.
common/xfconf-types.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common/xfconf-types.c b/common/xfconf-types.c
index 442becf..24d115d 100644
--- a/common/xfconf-types.c
+++ b/common/xfconf-types.c
@@ -132,7 +132,11 @@ short_from_gvalue(const GValue *src_value,
case G_TYPE_BOOLEAN:
g_value_set_boolean(dest_value, src ? TRUE : FALSE);
break;
+#if GLIB_CHECK_VERSION (2, 32, 0)
+ HANDLE_TYPE(CHAR, schar)
+#else
HANDLE_TYPE(CHAR, char)
+#endif
HANDLE_TYPE(UCHAR, uchar)
HANDLE_TYPE(INT, int)
HANDLE_TYPE(UINT, uint)
More information about the Xfce4-commits
mailing list