From f0ba12f19f25a4bf619985774b64988100807c94 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 8 Apr 2008 01:59:47 +0000 Subject: [PATCH] =?utf8?q?=20=20=20=20=20=20=20=20Bug=20526796=20=E2=80=93?= =?utf8?q?=20Wrong=20order=20of=20arguments=20in=20g=5Ffile=5Fcopy's=20fal?= =?utf8?q?lback?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * gfile.c (file_copy_fallback): Fix the argument order. Patch by Christian Kellner. svn path=/trunk/; revision=6830 --- gio/ChangeLog | 7 +++++++ gio/gfile.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index 1d96b58..f705cb1 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,10 @@ +2008-04-07 Matthias Clasen + + 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 * gunixmounts.c: (g_unix_mount_guess_should_display): diff --git a/gio/gfile.c b/gio/gfile.c index c908ad6..b3da055 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -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 -- 2.7.4