Branch: Tag:

2014-02-25

2014-02-25 14:31:53 by Per Hedbor <ph@opera.com>

Fixed warnings by not using deprecated functions.

This makes g_type_char consistent on x86 and ppc as an example.

543:    retval=(LONGEST)g_value_get_long(a);    break;    case G_TYPE_CHAR: -  retval=(LONGEST)g_value_get_char(a); +  retval=(LONGEST)g_value_get_schar(a);    break;    default:    retval=(LONGEST)g_value_get_uint(a);
1201:    g_value_set_uint(gv,(guint)PGTK_GETINT(sv));    break;    case G_TYPE_CHAR: -  g_value_set_char(gv,(gchar)PGTK_GETINT(sv)); +  g_value_set_schar(gv,(gchar)PGTK_GETINT(sv));    break;    case G_TYPE_UCHAR:    g_value_set_uchar(gv,(guchar)PGTK_GETINT(sv));