summaryrefslogtreecommitdiff
path: root/gtk/gtkprinter.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-06-12 17:45:49 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-06-12 17:45:49 +0000
commit809c8d565fdcc9903d459759710c5573d4041606 (patch)
treee3c0b862f25b2633e7ace2164c63ef3fd7d64030 /gtk/gtkprinter.h
parentc6d1d9dd011f80b66446853841aee9a441dd95fa (diff)
downloadgtk+-809c8d565fdcc9903d459759710c5573d4041606.tar.gz
Use gtk_printer_accepts_ps here.
2006-06-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintunixdialog.c (is_printer_active): Use gtk_printer_accepts_ps here. * modules/printbackends/pdf/gtkprintbackendpdf.c (gtk_print_backend_pdf_init): Mark the virtual "Print to PDF" printer as not accepting PS. * gtk/gtk.symbols: * gtk/gtkprinter.h: * gtk/gtkprinter.c: Add two new properties accepts-pdf and accepts-ps (with getters) to allow learning supported formats.
Diffstat (limited to 'gtk/gtkprinter.h')
-rw-r--r--gtk/gtkprinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprinter.h b/gtk/gtkprinter.h
index 6c9e056e15..c612107255 100644
--- a/gtk/gtkprinter.h
+++ b/gtk/gtkprinter.h
@@ -77,6 +77,8 @@ gint gtk_printer_get_job_count (GtkPrinter *printer
gboolean gtk_printer_is_active (GtkPrinter *printer);
gboolean gtk_printer_is_virtual (GtkPrinter *printer);
gboolean gtk_printer_is_default (GtkPrinter *printer);
+gboolean gtk_printer_accepts_pdf (GtkPrinter *printer);
+gboolean gtk_printer_accepts_ps (GtkPrinter *printer);
gint gtk_printer_compare (GtkPrinter *a,
GtkPrinter *b);