summaryrefslogtreecommitdiff
path: root/daemon/gvfsdaemon.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 12:26:02 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 12:26:02 +0000
commit865a5bf84655f95e575b14c0c8f4aa33c4b84c2e (patch)
tree5cba6f2e7a60f43c0dfbda306436d029f044530c /daemon/gvfsdaemon.c
parent2cc1c9b3d90465f997203468a350f59bbd685097 (diff)
downloadgvfs-865a5bf84655f95e575b14c0c8f4aa33c4b84c2e.tar.gz
Move from G_FILE_ERROR to G_IO_ERROR
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1174386485 +0100 svn path=/trunk/; revision=407
Diffstat (limited to 'daemon/gvfsdaemon.c')
-rw-r--r--daemon/gvfsdaemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsdaemon.c b/daemon/gvfsdaemon.c
index 6fca997d..0aabb86b 100644
--- a/daemon/gvfsdaemon.c
+++ b/daemon/gvfsdaemon.c
@@ -960,7 +960,7 @@ mount_got_spec (GMountSource *mount_source,
if (backend_type == G_TYPE_INVALID)
{
io_error = NULL;
- g_set_error (&io_error, G_FILE_ERROR, G_FILE_ERROR_INVAL,
+ g_set_error (&io_error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
"Unsupported mount type");
g_mount_source_failed (mount_source, io_error);
g_error_free (io_error);