From bfd0f05763c3baa877f696ee5b20f7d5e2f740c2 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 21 Nov 2014 15:29:29 +0100 Subject: removed unused functions Based on FR commit: 73fd3c56d567550be85574315d7a2beaec192970 From: Paolo Bacchilega --- src/fr-archive.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/fr-archive.c') diff --git a/src/fr-archive.c b/src/fr-archive.c index c2d1db3..ad7b84b 100644 --- a/src/fr-archive.c +++ b/src/fr-archive.c @@ -1344,27 +1344,6 @@ fr_archive_reload (FrArchive *archive, } -void -fr_archive_rename (FrArchive *archive, - const char *filename) -{ - g_return_if_fail (archive != NULL); - - if (archive->is_compressed_file) { - /* If the archive is a compressed file we have to reload it, - * because in this case the 'content' of the archive changes - * too. */ - fr_archive_load (archive, filename, NULL); - } - else { - if (archive->file != NULL) - g_object_unref (archive->file); - archive->file = g_file_new_for_path (filename); - fr_command_set_filename (archive->command, filename); - } -} - - /* -- add -- */ -- cgit v1.2.1