evince r3312 - in trunk: . shell
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r3312 - in trunk: . shell
- Date: Mon, 29 Dec 2008 10:00:21 +0000 (UTC)
Author: carlosgc
Date: Mon Dec 29 10:00:21 2008
New Revision: 3312
URL: http://svn.gnome.org/viewvc/evince?rev=3312&view=rev
Log:
2008-12-29 Carlos Garcia Campos <carlosgc gnome org>
* shell/ev-print-operation.c:
(ev_print_operation_export_print_dialog_response_cb):
Fallback to EV_FILE_FORMAT_PS when file_format is not defined.
Modified:
trunk/ChangeLog
trunk/shell/ev-print-operation.c
Modified: trunk/shell/ev-print-operation.c
==============================================================================
--- trunk/shell/ev-print-operation.c (original)
+++ trunk/shell/ev-print-operation.c Mon Dec 29 10:00:21 2008
@@ -1100,7 +1100,7 @@
get_first_and_last_page (export, &first_page, &last_page);
- export->fc.format = g_ascii_strcasecmp (file_format, "pdf") == 0 ?
+ export->fc.format = file_format && g_ascii_strcasecmp (file_format, "pdf") == 0 ?
EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS;
export->fc.filename = export->temp_file;
export->fc.first_page = MIN (first_page, last_page);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]