Fix the build
svn path=/trunk/; revision=19465
This commit is contained in:
@ -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>
|
2008-02-05 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/updateiconcache.c: Install a printerr handler that
|
* gtk/updateiconcache.c: Install a printerr handler that
|
||||||
|
|||||||
@ -1586,9 +1586,15 @@ printerr_handler (const gchar *string)
|
|||||||
fputs (string, stderr); /* charset is UTF-8 already */
|
fputs (string, stderr); /* charset is UTF-8 already */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gchar *lstring = strdup_convert (string, charset);
|
gchar *result;
|
||||||
fputs (lstring, stderr);
|
|
||||||
g_free (lstring);
|
result = g_convert_with_fallback (string, -1, charset, "UTF-8", "?", NULL, NULL, NULL);
|
||||||
|
|
||||||
|
if (result)
|
||||||
|
{
|
||||||
|
fputs (result, stderr);
|
||||||
|
g_free (result);
|
||||||
|
}
|
||||||
|
|
||||||
fflush (stderr);
|
fflush (stderr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user