summaryrefslogtreecommitdiff
path: root/daemon/gvfsjob.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-08-02 11:00:07 +0000
committerChristian Persch <chpe@src.gnome.org>2008-08-02 11:00:07 +0000
commit4836abe602181cc92ce99ef7cb4a78ba9447a032 (patch)
treea624fc3742a2fd7dd37857c6127abc7e7ea4da7a /daemon/gvfsjob.c
parentad7695f9ccd2435b034094ad03aa229b4d4ba60e (diff)
downloadgvfs-4836abe602181cc92ce99ef7cb4a78ba9447a032.tar.gz
Use g_set_error_literal where appropriate. Bug #539167.
svn path=/trunk/; revision=1847
Diffstat (limited to 'daemon/gvfsjob.c')
-rw-r--r--daemon/gvfsjob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/gvfsjob.c b/daemon/gvfsjob.c
index 4f2ae45f..9aa168c2 100644
--- a/daemon/gvfsjob.c
+++ b/daemon/gvfsjob.c
@@ -289,9 +289,9 @@ g_vfs_job_failed_from_errno (GVfsJob *job,
{
GError *error = NULL;
- g_set_error (&error, G_IO_ERROR,
- g_io_error_from_errno (errno_arg),
- "%s", g_strerror (errno_arg));
+ g_set_error_literal (&error, G_IO_ERROR,
+ g_io_error_from_errno (errno_arg),
+ g_strerror (errno_arg));
g_vfs_job_failed_from_error (job, error);
g_error_free (error);
}