Bug 526796 – Wrong order of arguments in g_file_copy's fallback
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 8 Apr 2008 01:59:47 +0000 (01:59 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 8 Apr 2008 01:59:47 +0000 (01:59 +0000)
        * gfile.c (file_copy_fallback): Fix the argument order. Patch
        by Christian Kellner.

svn path=/trunk/; revision=6830

gio/ChangeLog
gio/gfile.c

index 1d96b58..f705cb1 100644 (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>
 
        * gunixmounts.c: (g_unix_mount_guess_should_display):
index c908ad6..b3da055 100644 (file)
@@ -2300,8 +2300,9 @@ file_copy_fallback (GFile                  *source,
   if (flags & G_FILE_COPY_OVERWRITE)
     {
       out = (GOutputStream *)g_file_replace (destination,
-                                            NULL, 0,
+                                            NULL,
                                             flags & G_FILE_COPY_BACKUP,
+                                             0,
                                             cancellable, error);
     }
   else