summaryrefslogtreecommitdiff
path: root/gio/gfile.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-04-03 14:05:45 -0400
committerColin Walters <walters@verbum.org>2014-04-09 20:22:38 -0400
commit7089cf89672b70711b0ebe10fdd24cd73f6060d5 (patch)
tree8c6e6cd392b01b78e82bc80553afbe0e4f183dcc /gio/gfile.c
parent76d6fd01dec6fd3ae4cb21f4bdf1ad7ee521a2c2 (diff)
downloadglib-7089cf89672b70711b0ebe10fdd24cd73f6060d5.tar.gz
glib-7089cf89672b70711b0ebe10fdd24cd73f6060d5.tar.bz2
glib-7089cf89672b70711b0ebe10fdd24cd73f6060d5.zip
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
Diffstat (limited to 'gio/gfile.c')
-rw-r--r--gio/gfile.c2
1 files changed, 1 insertions, 1 deletions
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);