]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-jobs.c
Actually fix printing regressions. Remove orientation from EvPrintContext
[evince.git] / shell / ev-jobs.c
index 99bfc87a2fb5e77d6eb84e8370ee57a900916543..acd4cb3a59e8081b4202ce0aa0280bb64bc9c0e8 100644 (file)
@@ -4,6 +4,7 @@
 #include "ev-document-links.h"
 #include "ev-document-images.h"
 #include "ev-document-forms.h"
+#include "ev-file-exporter.h"
 #include "ev-document-factory.h"
 #include "ev-document-misc.h"
 #include "ev-file-helpers.h"
@@ -565,7 +566,6 @@ ev_job_print_new (EvDocument    *document,
                  const gchar   *format,
                  gdouble        width,
                  gdouble        height,
-                 EvFileExporterOrientation orientation,
                  EvPrintRange  *ranges,
                  gint           n_ranges,
                  EvPrintPageSet page_set,
@@ -587,7 +587,6 @@ ev_job_print_new (EvDocument    *document,
 
        job->width = width;
        job->height = height;
-       job->orientation = orientation;
 
        job->ranges = ranges;
        job->n_ranges = n_ranges;
@@ -721,7 +720,6 @@ ev_job_print_run (EvJobPrint *job)
        fc.last_page = MAX (first_page, last_page);
        fc.paper_width = job->width;
        fc.paper_height = job->height;
-       fc.orientation = job->orientation;
        fc.duplex = FALSE;
        fc.pages_per_sheet = MAX (1, job->pages_per_sheet);