Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-jobs.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-09-01 17:35:44 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-09-01 17:35:44 (GMT)
commit153e65ad1a0382ffaf43cee43a158c020121969b (patch)
treea0b8efafbe848377fe15cccd1c9e78520a176008 /shell/ev-jobs.c
parent982600bbceb76a22d5c7b3e0cbe6e20421105ad6 (diff)
Actually fix printing regressions. Remove orientation from EvPrintContext
2007-09-01 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page): * libdocument/ev-file-exporter.h: * shell/ev-jobs.[ch]: (ev_job_print_new), (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Actually fix printing regressions. Remove orientation from EvPrintContext since it's redundant. svn path=/trunk/; revision=2649
Diffstat (limited to 'shell/ev-jobs.c')
-rw-r--r--shell/ev-jobs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ev-jobs.c b/shell/ev-jobs.c
index 99bfc87..acd4cb3 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);