Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-print-job.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-10-22 13:25:20 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-10-22 13:25:20 (GMT)
commit80db4b8b5f7e0e49a9dd5208dcd55ab7cb80b16c (patch)
tree776cb94730e1b63b43d29fda15b25ba5c449bb89 /shell/ev-print-job.c
parentb70b608a4ff0f7472d2b7ab5935cbd8db4718998 (diff)
Fix a crash when printing with the gnome-print dialog. Fixes bug #488939.
2007-10-22 Carlos Garcia Campos <carlosgc@gnome.org> * backend/pdf/ev-poppler.cc: (pdf_document_file_exporter_begin): * shell/ev-print-job.c: (ev_print_job_class_init): Fix a crash when printing with the gnome-print dialog. Fixes bug #488939. svn path=/trunk/; revision=2713
Diffstat (limited to 'shell/ev-print-job.c')
-rw-r--r--shell/ev-print-job.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ev-print-job.c b/shell/ev-print-job.c
index d042ab6..39e334b 100644
--- a/shell/ev-print-job.c
+++ b/shell/ev-print-job.c
@@ -176,6 +176,7 @@ ev_print_job_class_init (EvPrintJobClass *ev_print_job_class)
static void
ev_print_job_init (EvPrintJob *ev_print_job)
{
+ ev_print_job->fc.pages_per_sheet = 1;
}
void