From 7a44ce336669e7c3ac6418a7dbe8171a6749b49b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 19 Jun 2006 05:09:49 +0000 Subject: Add a capabilities argument to the printer_get_options method and to the 2006-06-19 Matthias Clasen * gtk/gtkprinter-private.h: * gtk/gtkprinter.c (_gtk_printer_get_options): * gtk/gtkprintbackend.h: Add a capabilities argument to the printer_get_options method and to the _gtk_printer_get_options function * modules/printbackends/lpr/gtkprintbackendlpr.c (lpr_printer_get_options): * modules/printbackends/pdf/gtkprintbackendpdf.c (pdf_printer_get_options): * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): * gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust callers and implementations. --- gtk/gtkprintbackend.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/gtkprintbackend.h') diff --git a/gtk/gtkprintbackend.h b/gtk/gtkprintbackend.h index 5ccd1d7183..ba08c2d546 100644 --- a/gtk/gtkprintbackend.h +++ b/gtk/gtkprintbackend.h @@ -87,7 +87,8 @@ struct _GtkPrintBackendClass gint cache_fd); GtkPrinterOptionSet * (*printer_get_options) (GtkPrinter *printer, GtkPrintSettings *settings, - GtkPageSetup *page_setup); + GtkPageSetup *page_setup, + GtkPrintCapabilities capabilities); gboolean (*printer_mark_conflicts) (GtkPrinter *printer, GtkPrinterOptionSet *options); void (*printer_get_settings_from_options) (GtkPrinter *printer, -- cgit v1.2.1