diff options
author | Nick Schermer <nick@xfce.org> | 2012-04-17 21:50:42 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2012-04-17 21:50:42 +0200 |
commit | 13455e6df99e6b4639cdca308c6e6042509379e1 (patch) | |
tree | 0ae5f4a65d59a421a25f21bb292628d44c6aee8f /xfconf | |
parent | ba6163a09b8aff9d99298d7031695d0c8bf40d65 (diff) | |
download | xfconf-13455e6df99e6b4639cdca308c6e6042509379e1.tar.gz |
Don't use deprecated function.
Diffstat (limited to 'xfconf')
-rw-r--r-- | xfconf/xfconf-channel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xfconf/xfconf-channel.c b/xfconf/xfconf-channel.c index 1361956..9d906d3 100644 --- a/xfconf/xfconf-channel.c +++ b/xfconf/xfconf-channel.c @@ -1976,8 +1976,13 @@ xfconf_channel_get_structv(XfconfChannel *channel, break; case G_TYPE_CHAR: +#if GLIB_CHECK_VERSION (2, 32, 0) + SET_STRUCT_VAL(gchar, G_TYPE_CHAR, ALIGNOF_GCHAR, + g_value_get_schar); +#else SET_STRUCT_VAL(gchar, G_TYPE_CHAR, ALIGNOF_GCHAR, g_value_get_char); +#endif break; case G_TYPE_UINT: |