Add an GError parameter.

2006-06-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintbackend.h:
	* gtk/gtkprintbackend.c (gtk_print_backend_print_stream): Add an
	GError parameter.

	* modules/printbackends/file/gtkprintbackendfile.c
	(gtk_print_backend_file_print_stream):
	* modules/printbackends/lpr/gtkprintbackendlpr.c
	(gtk_print_backend_lpr_print_stream):
	* modules/printbackends/cups/gtkprintbackendcups.c
	(gtk_print_backend_cups_print_stream):
	* gtk/gtkprintjob.c (gtk_print_job_send): Update all callers and
	implementations.
This commit is contained in:
Matthias Clasen
2006-06-21 05:56:14 +00:00
committed by Matthias Clasen
parent 2c91a6552e
commit bc1dbd58d5
8 changed files with 95 additions and 50 deletions

View File

@ -579,7 +579,8 @@ gtk_print_backend_print_stream (GtkPrintBackend *backend,
gint data_fd,
GtkPrintJobCompleteFunc callback,
gpointer user_data,
GDestroyNotify dnotify)
GDestroyNotify dnotify,
GError **error)
{
g_return_if_fail (GTK_IS_PRINT_BACKEND (backend));
@ -588,7 +589,8 @@ gtk_print_backend_print_stream (GtkPrintBackend *backend,
data_fd,
callback,
user_data,
dnotify);
dnotify,
error);
}
void