glib r6830 - trunk/gio



Author: matthiasc
Date: Tue Apr  8 02:59:47 2008
New Revision: 6830
URL: http://svn.gnome.org/viewvc/glib?rev=6830&view=rev

Log:
        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.


Modified:
   trunk/gio/ChangeLog
   trunk/gio/gfile.c

Modified: trunk/gio/gfile.c
==============================================================================
--- trunk/gio/gfile.c	(original)
+++ trunk/gio/gfile.c	Tue Apr  8 02:59:47 2008
@@ -2300,8 +2300,9 @@
   if (flags & G_FILE_COPY_OVERWRITE)
     {
       out = (GOutputStream *)g_file_replace (destination,
-					     NULL, 0,
+					     NULL,
 					     flags & G_FILE_COPY_BACKUP,
+                                             0,
 					     cancellable, error);
     }
   else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]