diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-05 07:28:22 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-05 07:28:22 (GMT) |
commit | 86cdda753e6a656ce2bafa9d865ffe8b5d58bc0c (patch) | |
tree | d57634db53c699537629852801e5e8674a5b9f52 /ps | |
parent | f8bb587b9dc25dcd16acf1eb89d2385b3c71d3af (diff) |
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 <kiltedtaco@gmail.com>. Fix for bug
311016.
Diffstat (limited to 'ps')
-rw-r--r-- | ps/ps-document.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |