Move SIGPIPE suppression to gtk_init and document it

Some people were unhappy with doing it deep inside the lpr print
backend at an unpredictable time, and SIGPIPE is almost never
wanted anyway.
This commit is contained in:
Matthias Clasen
2009-10-01 11:41:17 -04:00
parent 42ad005847
commit 97d15954ad
3 changed files with 16 additions and 2 deletions

View File

@ -278,8 +278,6 @@ lpr_write (GIOChannel *source,
{
gsize bytes_written;
signal (SIGPIPE, SIG_IGN);
g_io_channel_write_chars (ps->in,
buf,
bytes_read,