Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-08-27 18:11:30 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-08-27 18:11:30 (GMT)
commitbc50ee241e2267cc7cc34b3598b047f335995662 (patch)
tree2e6b28eeca777766c2596851c73d983047385fa2 /shell/ev-window.c
parentd7d241459ad309ebccf2aa296beb26f41b8da459 (diff)
Create always a portrait cairo surface and rotate when needed for
2007-08-27 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_print_context_free), (pdf_document_file_exporter_begin), (pdf_document_file_exporter_do_page): * shell/ev-jobs.c: (ev_job_print_run): * shell/ev-window.c: (ev_window_print_dialog_response_cb): Create always a portrait cairo surface and rotate when needed for landscape. It fixes printing problems in real printers. svn path=/trunk/; revision=2643
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 9700746..32d52fd 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2332,7 +2332,7 @@ ev_window_print_dialog_response_cb (GtkDialog *dialog,
gdouble width;
gdouble height;
GtkPrintPages print_pages;
- EvFileExporterOrientation orientation;
+ EvFileExporterOrientation orientation = EV_FILE_EXPORTER_PORTRAIT;
const gchar *file_format;
if (response == GTK_RESPONSE_CANCEL) {