From 67dbdd12a75b63b11f1a7ebe7324445ad17ceb13 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Tue, 27 Feb 2007 14:56:44 +0000 Subject: Save document compressed when saving a copy of a compressed document. 2007-02-27 Carlos Garcia Campos * libdocument/ev-file-helpers.[ch]: (compression_run), (ev_file_uncompress), (ev_file_compress): * shell/ev-window.c: (file_save_dialog_response_cb): Save document compressed when saving a copy of a compressed document. Fixes bug #334542. svn path=/trunk/; revision=2356 --- (limited to 'libdocument/ev-file-helpers.h') diff --git a/libdocument/ev-file-helpers.h b/libdocument/ev-file-helpers.h index 945573d..f7d9f9e 100644 --- a/libdocument/ev-file-helpers.h +++ b/libdocument/ev-file-helpers.h @@ -47,6 +47,9 @@ gboolean ev_xfer_uri_simple (const char *from, gchar *ev_file_uncompress (const gchar *uri, EvCompressionType type, GError **error); +gchar *ev_file_compress (const gchar *uri, + EvCompressionType type, + GError **error); G_END_DECLS -- cgit v0.9.1