build: glib 2.30.0 doesn't have g_value_get_schar yet

This commit is contained in:
Ludwig Nussel 2011-10-07 15:21:56 +02:00 committed by Dan Williams
parent 1453abbebc
commit c379df568c

View file

@ -92,7 +92,7 @@ _gvalues_compare_fixed (const GValue *value1, const GValue *value2)
switch (G_VALUE_TYPE (value1)) {
case G_TYPE_CHAR: {
#if GLIB_CHECK_VERSION(2,29,90)
#if GLIB_CHECK_VERSION(2,30,1)
gchar val1 = g_value_get_schar (value1);
gchar val2 = g_value_get_schar (value2);
#else