summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobopenforwrite.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-07-20 17:06:12 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:37 +0200
commit584c90ed0861440fd052a6090d132dd0859efd0d (patch)
tree2c58cd6bfb92f466bf99a698923ac7b755f340f3 /daemon/gvfsjobopenforwrite.c
parent6f16f975afa7da91291bd6a0ab30d16823951dde (diff)
downloadgvfs-584c90ed0861440fd052a6090d132dd0859efd0d.tar.gz
gdbus: Use G_VARIANT_TYPE_HANDLE for fd_id arguments
Diffstat (limited to 'daemon/gvfsjobopenforwrite.c')
-rw-r--r--daemon/gvfsjobopenforwrite.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/gvfsjobopenforwrite.c b/daemon/gvfsjobopenforwrite.c
index 8ea680fa..87a6ff1b 100644
--- a/daemon/gvfsjobopenforwrite.c
+++ b/daemon/gvfsjobopenforwrite.c
@@ -270,7 +270,10 @@ create_reply (GVfsJob *job,
g_error_free (error);
}
- gvfs_dbus_mount_complete_open_for_write (object, invocation, fd_list, fd_id, open_job->can_seek, open_job->initial_offset);
+ gvfs_dbus_mount_complete_open_for_write (object, invocation,
+ fd_list, g_variant_new_handle (fd_id),
+ open_job->can_seek,
+ open_job->initial_offset);
close (remote_fd);
g_object_unref (fd_list);