mirror of https://github.com/GNOME/gimp.git
app: do not use gimp_filename_to_utf8() in the signal handler.
This function is unsafe during signal handling. And in any case, when printing to stderr, I don't think we need to convert to UTF-8. Quite the contrary, the system encoding may be more appropriate.
This commit is contained in:
parent
ab7c3d2b24
commit
f77edcdf19
|
@ -325,8 +325,7 @@ gimp_eek (const gchar *reason,
|
|||
|
||||
/* Let's just always output on stdout at least so that there is a
|
||||
* trace if the rest fails. */
|
||||
g_printerr ("%s: %s: %s\n", gimp_filename_to_utf8 (full_prog_name),
|
||||
reason, message);
|
||||
g_printerr ("%s: %s: %s\n", full_prog_name, reason, message);
|
||||
|
||||
#if ! defined (G_OS_WIN32) || defined (HAVE_EXCHNDL)
|
||||
|
||||
|
|
Loading…
Reference in New Issue