mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 13:10:07 +00:00
Fix the build
svn path=/trunk/; revision=19465
This commit is contained in:
parent
c4be17ba1b
commit
d9efa71c84
@ -1,3 +1,7 @@
|
||||
2008-02-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/updateiconcache.c: Fix the previous commit to compile.
|
||||
|
||||
2008-02-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/updateiconcache.c: Install a printerr handler that
|
||||
|
@ -1586,10 +1586,16 @@ printerr_handler (const gchar *string)
|
||||
fputs (string, stderr); /* charset is UTF-8 already */
|
||||
else
|
||||
{
|
||||
gchar *lstring = strdup_convert (string, charset);
|
||||
fputs (lstring, stderr);
|
||||
g_free (lstring);
|
||||
|
||||
gchar *result;
|
||||
|
||||
result = g_convert_with_fallback (string, -1, charset, "UTF-8", "?", NULL, NULL, NULL);
|
||||
|
||||
if (result)
|
||||
{
|
||||
fputs (result, stderr);
|
||||
g_free (result);
|
||||
}
|
||||
|
||||
fflush (stderr);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user