From 86cdda753e6a656ce2bafa9d865ffe8b5d58bc0c Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Fri, 05 Aug 2005 07:28:22 +0000 Subject: Use unzipped document when printing. Thanks to Colin Slater * ps/ps-document.c: (save_page_list): Use unzipped document when printing. Thanks to Colin Slater . Fix for bug 311016. --- diff --git a/ChangeLog b/ChangeLog index 6feae0d..251a426 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-08-05 Nickolay V. Shmyrev + + * ps/ps-document.c: (save_page_list): Use + unzipped document when printing. Thanks to + Colin Slater . Fix for bug + 311016. + 2005-08-03 Nickolay V. Shmyrev * shell/ev-window.c: (update_action_sensitivity): @@ -14,7 +21,7 @@ * shell/ev-window.c: (save_print_config_to_file): Copy-paste g_file_set_contents to keep compatibility with gtk 2.6 - Fix for bug 312228 + Fix for bug 312238 2005-07-31 Christian Persch diff --git a/ps/ps-document.c b/ps/ps-document.c index cfd22d9..8935eed 100644 --- a/ps/ps-document.c +++ b/ps/ps-document.c @@ -1091,7 +1091,8 @@ save_page_list (PSDocument *document, int *page_list, const char *filename) FILE *f; gchar *buf; - pscopydoc (sink, document->gs_filename, document->doc, page_list); + pscopydoc (sink, PS_DOCUMENT_GET_PS_FILE(document), + document->doc, page_list); buf = gtk_gs_doc_sink_get_buffer (sink); -- cgit v0.9.1