summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorChristian Kellner <gicmo@src.gnome.org>2008-08-04 20:35:24 +0000
committerChristian Kellner <gicmo@src.gnome.org>2008-08-04 20:35:24 +0000
commit6d38b8c48995ee2fe9cc87ff4d4df5ed34da8091 (patch)
treef3af8223109d1ccf1cfe5666c1cb409b40603ecc /client
parent9797542b379492d8ebded5f1e03e58e78e66aa7a (diff)
downloadgvfs-6d38b8c48995ee2fe9cc87ff4d4df5ed34da8091.tar.gz
Bug 544008 – g_daemon_file_replace_async mode err
Correctly set the mode to 2 resulting in the replace vfunc being called inside the backends. svn path=/trunk/; revision=1859
Diffstat (limited to 'client')
-rw-r--r--client/gdaemonfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 9e055c21..429a8eb0 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -2624,9 +2624,9 @@ g_daemon_file_replace_async (GFile *file,
{
dbus_bool_t dbus_make_backup = make_backup;
guint32 dbus_flags = flags;
- guint16 mode = 0;
+ guint16 mode = 2;
- do_async_path_call (file,
+ do_async_path_call (file,
G_VFS_DBUS_MOUNT_OP_OPEN_FOR_WRITE,
cancellable,
callback, user_data,