From 3ce5a53bb532379e723d2b98bad3d7cef9f426e0 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 3 Apr 2014 14:05:45 -0400 Subject: [PATCH] g_file_copy: Don't set GError when we intend to ignore errors For better or worse, the current g_file_copy intention was to ignore errors copying metadata, but we still set the GError, while returning TRUE. https://bugzilla.gnome.org/show_bug.cgi?id=727559 --- gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gfile.c b/gio/gfile.c index 78f0d2903..ae2dfb984 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -3252,7 +3252,7 @@ file_copy_fallback (GFile *source, info, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, cancellable, - error); + NULL); } g_clear_object (&info);