X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-jobs.c;h=acd4cb3a59e8081b4202ce0aa0280bb64bc9c0e8;hb=153e65ad1a0382ffaf43cee43a158c020121969b;hp=99bfc87a2fb5e77d6eb84e8370ee57a900916543;hpb=982600bbceb76a22d5c7b3e0cbe6e20421105ad6;p=evince.git diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c index 99bfc87a..acd4cb3a 100644 --- a/shell/ev-jobs.c +++ b/shell/ev-jobs.c @@ -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);