summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobread.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 09:32:07 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 09:32:07 +0000
commitc8c2ed92ff9aaf751dc834e29a6f5bbe471e2538 (patch)
treec5070db7b9d1ceb9d100794b53cc7cb7399c7827 /daemon/gvfsjobread.c
parent33f03be52b1e684b021cceb5fb555702339aea8d (diff)
downloadgvfs-c8c2ed92ff9aaf751dc834e29a6f5bbe471e2538.tar.gz
Move backend class calls int gvfsbackend.c
Original git commit by Alexander Larsson <alex@localhost.localdomain> at 1161857195 +0200 svn path=/trunk/; revision=130
Diffstat (limited to 'daemon/gvfsjobread.c')
-rw-r--r--daemon/gvfsjobread.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/daemon/gvfsjobread.c b/daemon/gvfsjobread.c
index 2b109bbe..b9f90615 100644
--- a/daemon/gvfsjobread.c
+++ b/daemon/gvfsjobread.c
@@ -78,16 +78,13 @@ send_reply (GVfsJob *job)
static gboolean
start (GVfsJob *job)
{
- GVfsBackendClass *class;
GVfsJobRead *op_job = G_VFS_JOB_READ (job);
- class = G_VFS_BACKEND_GET_CLASS (job->backend);
-
- return class->read (job->backend,
- op_job,
- op_job->handle,
- op_job->buffer,
- op_job->bytes_requested);
+ return g_vfs_backend_read (job->backend,
+ op_job,
+ op_job->handle,
+ op_job->buffer,
+ op_job->bytes_requested);
}
/* Takes ownership */