summaryrefslogtreecommitdiff
path: root/gtk/gtkprintbackend.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-06-21 05:56:14 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-06-21 05:56:14 +0000
commitbc1dbd58d528effe89d53feb1e296464d31479c6 (patch)
treec9bab76aec699811c220c37e767fd36fd29c7285 /gtk/gtkprintbackend.c
parent2c91a6552e809f6eb77d71c5c3f470b7f5875fe7 (diff)
downloadgtk+-bc1dbd58d528effe89d53feb1e296464d31479c6.tar.gz
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.
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r--gtk/gtkprintbackend.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c
index 613d88d4be..137312f499 100644
--- a/gtk/gtkprintbackend.c
+++ b/gtk/gtkprintbackend.c
@@ -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