diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2012-04-16 17:33:26 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-31 11:58:21 +0200 |
commit | 844e47f33da18ee8246c09adc70194cdb183d277 (patch) | |
tree | aae4bcb7da22d3367f13c507014c7c1061a29ab4 /daemon/gvfsjobopenforread.c | |
parent | 55f336c94f9a365e8dda4acae876073eb3ef3a2f (diff) | |
download | gvfs-844e47f33da18ee8246c09adc70194cdb183d277.tar.gz |
gdbus: Port the OpenIconForRead operation
Diffstat (limited to 'daemon/gvfsjobopenforread.c')
-rw-r--r-- | daemon/gvfsjobopenforread.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/gvfsjobopenforread.c b/daemon/gvfsjobopenforread.c index 75392339..95084c62 100644 --- a/daemon/gvfsjobopenforread.c +++ b/daemon/gvfsjobopenforread.c @@ -186,7 +186,10 @@ create_reply (GVfsJob *job, g_error_free (error); } - gvfs_dbus_mount_complete_open_for_read (object, invocation, fd_list, fd_id, open_job->can_seek); + if (open_job->read_icon) + gvfs_dbus_mount_complete_open_icon_for_read (object, invocation, fd_list, fd_id, open_job->can_seek); + else + gvfs_dbus_mount_complete_open_for_read (object, invocation, fd_list, fd_id, open_job->can_seek); /* FIXME: this could cause issues as long as fd_list closes all its fd's when it's finalized */ close (remote_fd); |