]> Pileus Git - ~andy/gtk/blobdiff - modules/printbackends/cups/gtkprintercups.h
Get the name of the first printer in a class to use when requesting a PPD
[~andy/gtk] / modules / printbackends / cups / gtkprintercups.h
index 510050918f39b4cce4202dea4e7dfa0acc062c93..d33a5ab5ebf3927b65aaf0c6fad399f7ad49cfde 100644 (file)
@@ -50,6 +50,7 @@ struct _GtkPrinterCups
 
   ipp_pstate_t state;
   gboolean reading_ppd;
+  gchar      *ppd_name;
   ppd_file_t *ppd_file;
 };
 
@@ -63,7 +64,8 @@ GType                    gtk_printer_cups_get_type      (void) G_GNUC_CONST;
 void                     gtk_printer_cups_register_type (GTypeModule     *module);
 GtkPrinterCups          *gtk_printer_cups_new           (const char      *name,
                                                         GtkPrintBackend *backend);
-ppd_file_t *             gtk_printer_cups_get_ppd       (GtkPrinterCups  *printer);
+ppd_file_t             *gtk_printer_cups_get_ppd       (GtkPrinterCups  *printer);
+char                   *gtk_printer_cups_get_ppd_name  (GtkPrinterCups  *printer);
 
 G_END_DECLS