diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-06-12 17:45:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-06-12 17:45:49 +0000 |
commit | 809c8d565fdcc9903d459759710c5573d4041606 (patch) | |
tree | e3c0b862f25b2633e7ace2164c63ef3fd7d64030 /gtk/gtkprinter.h | |
parent | c6d1d9dd011f80b66446853841aee9a441dd95fa (diff) | |
download | gtk+-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.h | 2 |
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); |