summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobmakesymlink.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:19:16 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 14:19:16 +0000
commitdc104c64adb7a40fb62bda25cf1c1c4ec0fd351a (patch)
treee27d5a9454e738d76ca7025b9a3c7b0193bbba98 /daemon/gvfsjobmakesymlink.c
parentd064a539a0905af23e342553aa64737dfa4115ed (diff)
downloadgvfs-dc104c64adb7a40fb62bda25cf1c1c4ec0fd351a.tar.gz
Fix cut/paste-induced inconsistencies.
Original git commit by Hans Petter Jansson <hpj@cl.no> at 1183719527 +0200 svn path=/trunk/; revision=662
Diffstat (limited to 'daemon/gvfsjobmakesymlink.c')
-rw-r--r--daemon/gvfsjobmakesymlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gvfsjobmakesymlink.c b/daemon/gvfsjobmakesymlink.c
index c3fa6421..83fc55ff 100644
--- a/daemon/gvfsjobmakesymlink.c
+++ b/daemon/gvfsjobmakesymlink.c
@@ -98,7 +98,7 @@ run (GVfsJob *job)
GVfsJobMakeSymlink *op_job = G_VFS_JOB_MAKE_SYMLINK (job);
GVfsBackendClass *class = G_VFS_BACKEND_GET_CLASS (op_job->backend);
- if (class->delete == NULL)
+ if (class->make_symlink == NULL)
{
g_vfs_job_failed (job, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
_("Symlinks not supported by backend"));
@@ -117,7 +117,7 @@ try (GVfsJob *job)
GVfsJobMakeSymlink *op_job = G_VFS_JOB_MAKE_SYMLINK (job);
GVfsBackendClass *class = G_VFS_BACKEND_GET_CLASS (op_job->backend);
- if (class->try_delete == NULL)
+ if (class->try_make_symlink == NULL)
return FALSE;
return class->try_make_symlink (op_job->backend,