Ticket #3333: 3333.patch

File 3333.patch, 534 bytes (added by ginggs, 10 years ago)

fix g_error_new_valist() in glibcompat.c for glib <2.22.0

  • lib/glibcompat.c

    old new  
    153153    char *message; 
    154154    GError *ret_value; 
    155155 
    156     va_start (ap, format); 
    157     message = g_strdup_vprintf (format, ap); 
    158     va_end (ap); 
     156    message = g_strdup_vprintf (format, args); 
    159157 
    160158    ret_value = g_error_new_literal (domain, code, message); 
    161159    g_free (message);