[file-roller: 78/123] _remove_files: use the compression passed to the function



commit 5037609e53a1d4a4ee63f493c683fe574ad3b321
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Jul 29 18:18:57 2012 +0200

    _remove_files: use the compression passed to the function

 src/fr-archive-libarchive.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/fr-archive-libarchive.c b/src/fr-archive-libarchive.c
index b35ec9b..2379f14 100644
--- a/src/fr-archive-libarchive.c
+++ b/src/fr-archive-libarchive.c
@@ -1296,7 +1296,7 @@ _remove_files_entry_action (SaveData             *save_data,
 static void
 fr_archive_libarchive_remove_files (FrArchive           *archive,
 				    GList               *file_list,
-				    FrCompression        compression, /* FIXME: remove this option */
+				    FrCompression        compression,
 				    GCancellable        *cancellable,
 				    GAsyncReadyCallback  callback,
 				    gpointer             user_data)
@@ -1316,7 +1316,7 @@ fr_archive_libarchive_remove_files (FrArchive           *archive,
 				     FALSE,
 				     archive->password,
 				     archive->encrypt_header,
-				     archive->compression,
+				     compression,
 				     0,
 				     cancellable,
 				     g_simple_async_result_new (G_OBJECT (archive),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]