broken pre-commit script

This commit is contained in:
Matthias Clasen 2006-12-28 04:22:46 +00:00
parent 90532005ee
commit c855dc61b5
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-12-27 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/lpr/gtkprintbackendlpr.c
(gtk_print_backend_lpr_print_stream): Close the io channel
on unref. (#390159, Joe Markus Clarke)
2006-12-27 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.h: Remove redundant declarations (#390097,

View File

@ -372,6 +372,8 @@ gtk_print_backend_lpr_print_stream (GtkPrintBackend *print_backend,
goto out;
}
g_io_channel_set_close_on_unref (ps->in, TRUE);
g_io_add_watch (data_io,
G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP,
(GIOFunc) lpr_write,