[gvfs/gnome-3-10] gphoto2: Return the correct offset when seeking
- From: Ross Lagerwall <rossl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gnome-3-10] gphoto2: Return the correct offset when seeking
- Date: Sat, 30 Nov 2013 13:58:08 +0000 (UTC)
commit d6ae1bce7ddd12d7ce7ae23141e1b4cd81aba562
Author: Ross Lagerwall <rosslagerwall gmail com>
Date: Mon Nov 18 16:57:19 2013 +0200
gphoto2: Return the correct offset when seeking
https://bugzilla.gnome.org/show_bug.cgi?id=712601
daemon/gvfsbackendgphoto2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gvfsbackendgphoto2.c b/daemon/gvfsbackendgphoto2.c
index aecb1a1..63a451b 100644
--- a/daemon/gvfsbackendgphoto2.c
+++ b/daemon/gvfsbackendgphoto2.c
@@ -2033,7 +2033,7 @@ try_seek_on_read (GVfsBackend *backend,
else
{
read_handle->cursor = new_offset;
- g_vfs_job_seek_read_set_offset (job, offset);
+ g_vfs_job_seek_read_set_offset (job, new_offset);
g_vfs_job_succeeded (G_VFS_JOB (job));
}
return TRUE;
@@ -3221,7 +3221,7 @@ do_seek_on_write (GVfsBackend *backend,
else
{
write_handle->cursor = new_offset;
- g_vfs_job_seek_write_set_offset (job, offset);
+ g_vfs_job_seek_write_set_offset (job, new_offset);
g_vfs_job_succeeded (G_VFS_JOB (job));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]