glib r6831 - branches/glib-2-16/gio



Author: matthiasc
Date: Tue Apr  8 03:04:34 2008
New Revision: 6831
URL: http://svn.gnome.org/viewvc/glib?rev=6831&view=rev

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



Modified:
   branches/glib-2-16/gio/ChangeLog
   branches/glib-2-16/gio/gfile.c

Modified: branches/glib-2-16/gio/gfile.c
==============================================================================
--- branches/glib-2-16/gio/gfile.c	(original)
+++ branches/glib-2-16/gio/gfile.c	Tue Apr  8 03:04:34 2008
@@ -2263,8 +2263,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]