diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-06-19 05:09:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-19 05:09:49 +0000 |
commit | 7a44ce336669e7c3ac6418a7dbe8171a6749b49b (patch) | |
tree | ad9bd670623c4f5b47fd8d611bb65800b93f8ce3 /modules/printbackends/lpr | |
parent | 2858512ebe4cc157e87904051d7cd0dbd6578a4a (diff) | |
download | gtk+-7a44ce336669e7c3ac6418a7dbe8171a6749b49b.tar.gz |
Add a capabilities argument to the printer_get_options method and to the
2006-06-19 Matthias Clasen <mclasen@redhat.com>
* 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.
Diffstat (limited to 'modules/printbackends/lpr')
-rw-r--r-- | modules/printbackends/lpr/gtkprintbackendlpr.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/printbackends/lpr/gtkprintbackendlpr.c b/modules/printbackends/lpr/gtkprintbackendlpr.c index d045208363..29a94d6901 100644 --- a/modules/printbackends/lpr/gtkprintbackendlpr.c +++ b/modules/printbackends/lpr/gtkprintbackendlpr.c @@ -67,7 +67,8 @@ static void lpr_printer_get_settings_from_options (GtkPrinter GtkPrintSettings *settings); static GtkPrinterOptionSet *lpr_printer_get_options (GtkPrinter *printer, GtkPrintSettings *settings, - GtkPageSetup *page_setup); + GtkPageSetup *page_setup, + GtkPrintCapabilities capabilities); static void lpr_printer_prepare_for_print (GtkPrinter *printer, GtkPrintJob *print_job, GtkPrintSettings *settings, @@ -392,9 +393,10 @@ gtk_print_backend_lpr_init (GtkPrintBackendLpr *backend) } static GtkPrinterOptionSet * -lpr_printer_get_options (GtkPrinter *printer, - GtkPrintSettings *settings, - GtkPageSetup *page_setup) +lpr_printer_get_options (GtkPrinter *printer, + GtkPrintSettings *settings, + GtkPageSetup *page_setup, + GtkPrintCapabilities capabilities) { GtkPrinterOptionSet *set; GtkPrinterOption *option; |