libgimpbase: Disable gimp_wire_read() warning

Disable gimp_wire_read() warning, most of the time it just gives this
confusing error message when the GIMP core crashes:

(script-fu:28495): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
This commit is contained in:
Martin Nordholts 2010-07-01 21:15:33 +02:00
parent b3ee51794d
commit 9ddbc55a08
1 changed files with 2 additions and 0 deletions

View File

@ -102,7 +102,9 @@ gimp_wire_read (GIOChannel *channel,
{
if (!(* wire_read_func) (channel, buf, count, user_data))
{
/* Gives a confusing error message most of the time, disable:
g_warning ("%s: gimp_wire_read: error", g_get_prgname ());
*/
wire_error_val = TRUE;
return FALSE;
}