diff options
author | Colin Walters <walters@verbum.org> | 2014-04-03 14:05:45 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2014-04-09 20:22:38 -0400 |
commit | 7089cf89672b70711b0ebe10fdd24cd73f6060d5 (patch) | |
tree | 8c6e6cd392b01b78e82bc80553afbe0e4f183dcc /gio/gfile.c | |
parent | 76d6fd01dec6fd3ae4cb21f4bdf1ad7ee521a2c2 (diff) | |
download | glib-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.c | 2 |
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); |