[f-spot] Fix critical GLib warning regarding canncellable
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Fix critical GLib warning regarding canncellable
- Date: Wed, 19 May 2010 09:00:01 +0000 (UTC)
commit 53bf478fa9f969b4d83c15aa68413ec26dc36512
Author: Paul Wellner Bou <paul purecodes org>
Date: Wed May 19 09:43:14 2010 +0200
Fix critical GLib warning regarding canncellable
https://bugzilla.gnome.org/show_bug.cgi?id=619014
extensions/Exporters/FolderExport/FolderExport.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/Exporters/FolderExport/FolderExport.cs b/extensions/Exporters/FolderExport/FolderExport.cs
index cf980ea..e957a8a 100644
--- a/extensions/Exporters/FolderExport/FolderExport.cs
+++ b/extensions/Exporters/FolderExport/FolderExport.cs
@@ -250,7 +250,7 @@ namespace FSpotFolderExport {
// otherwise we xfer
if (!dest.IsNative) {
System.Console.WriteLine ("Xfering {0} to {1}", source.ToString (), target.ToString ());
- result = source.CopyRecursive (target, GLib.FileCopyFlags.Overwrite, null, Progress);
+ result = source.CopyRecursive (target, GLib.FileCopyFlags.Overwrite, new GLib.Cancellable (), Progress);
}
if (result == true) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]