summaryrefslogtreecommitdiff
path: root/src/fr-archive.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-21 15:29:29 +0100
committerinfirit <[email protected]>2014-11-22 20:25:29 +0100
commitbfd0f05763c3baa877f696ee5b20f7d5e2f740c2 (patch)
tree2eb750fbc7e7984a7d2e8434cee25a7116f7c188 /src/fr-archive.c
parent1e65b2e33d57c1d78049766919d068464898c5fd (diff)
downloadengrampa-bfd0f05763c3baa877f696ee5b20f7d5e2f740c2.tar.bz2
engrampa-bfd0f05763c3baa877f696ee5b20f7d5e2f740c2.tar.xz
removed unused functions
Based on FR commit: 73fd3c56d567550be85574315d7a2beaec192970 From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src/fr-archive.c')
-rw-r--r--src/fr-archive.c21
1 files changed, 0 insertions, 21 deletions
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 -- */