]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-jobs.h
GtkPrintJob doesn't support print ranges or current page, so we export to
[evince.git] / shell / ev-jobs.h
index 22eeb07e53bdde2fc7582f4840f1df263481e77c..e4497f28ae249b9c0a0678e0670262f7d7b9ec96 100644 (file)
@@ -189,6 +189,8 @@ struct _EvJobPrint
 
        GError *error;
        gchar  *temp_file;
+       EvPrintRange *ranges;
+       gint n_ranges;
        gdouble width;
        gdouble height;
 };
@@ -244,6 +246,8 @@ void                ev_job_xfer_run           (EvJobXfer       *xfer);
 /* EvJobPrint */
 GType           ev_job_print_get_type     (void) G_GNUC_CONST;
 EvJob          *ev_job_print_new          (EvDocument      *document,
+                                          EvPrintRange    *ranges,
+                                          gint             n_ranges,
                                           gdouble          width,
                                           gdouble          height);
 void            ev_job_print_run          (EvJobPrint      *print);