Don't use g_value_set_char

This commit is contained in:
Matthias Clasen 2011-11-01 21:18:27 -04:00
parent d7c264653a
commit 4460cac3ed

View File

@ -1437,7 +1437,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder,
switch (G_TYPE_FUNDAMENTAL (type))
{
case G_TYPE_CHAR:
g_value_set_char (value, string[0]);
g_value_set_schar (value, string[0]);
break;
case G_TYPE_UCHAR:
g_value_set_uchar (value, (guchar)string[0]);