From 80db4b8b5f7e0e49a9dd5208dcd55ab7cb80b16c Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 22 Oct 2007 13:25:20 +0000 Subject: Fix a crash when printing with the gnome-print dialog. Fixes bug #488939. 2007-10-22 Carlos Garcia Campos * 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 --- (limited to 'shell/ev-print-job.c') 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 -- cgit v0.9.1