Bug 526796 – Wrong order of arguments in g_file_copy's fallback

* gfile.c (file_copy_fallback): Fix the argument order. Patch
        by Christian Kellner.

svn path=/trunk/; revision=6830
This commit is contained in:
Matthias Clasen 2008-04-08 01:59:47 +00:00
parent 43964b2fc1
commit f0ba12f19f
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-04-07 Matthias Clasen <mclasen@redhat.com>
Bug 526796 Wrong order of arguments in g_file_copy's fallback
* gfile.c (file_copy_fallback): Fix the argument order. Patch
by Christian Kellner.
2008-04-04 Sebastien Bacher <seb128@ubuntu.com> 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
* gunixmounts.c: (g_unix_mount_guess_should_display): * gunixmounts.c: (g_unix_mount_guess_should_display):

View File

@ -2300,8 +2300,9 @@ file_copy_fallback (GFile *source,
if (flags & G_FILE_COPY_OVERWRITE) if (flags & G_FILE_COPY_OVERWRITE)
{ {
out = (GOutputStream *)g_file_replace (destination, out = (GOutputStream *)g_file_replace (destination,
NULL, 0, NULL,
flags & G_FILE_COPY_BACKUP, flags & G_FILE_COPY_BACKUP,
0,
cancellable, error); cancellable, error);
} }
else else