[f-spot/taglib-metadata: 10/20] Make sure the temporary file on writing is removed.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot/taglib-metadata: 10/20] Make sure the temporary file on writing is removed.
- Date: Sat, 26 Jun 2010 19:36:55 +0000 (UTC)
commit 8945a2e66a476a03fefd61898598a5dc3b5f071f
Author: Ruben Vermeersch <ruben savanne be>
Date: Tue Jun 15 21:15:06 2010 +0200
Make sure the temporary file on writing is removed.
src/Utils/GIOTagLibFileAbstraction.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Utils/GIOTagLibFileAbstraction.cs b/src/Utils/GIOTagLibFileAbstraction.cs
index d66c624..3528597 100644
--- a/src/Utils/GIOTagLibFileAbstraction.cs
+++ b/src/Utils/GIOTagLibFileAbstraction.cs
@@ -70,7 +70,7 @@ namespace FSpot.Utils
var file = FileFactory.NewForUri (Uri);
var tmp_file = FileFactory.NewForUri (tmp_write_uri);
- tmp_file.Copy (file, GLib.FileCopyFlags.AllMetadata | GLib.FileCopyFlags.Overwrite, null, null);
+ tmp_file.Move (file, GLib.FileCopyFlags.AllMetadata | GLib.FileCopyFlags.Overwrite, null, null);
}
private SafeUri CreateTmpFile ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]