diff options
author | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 12:26:02 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-09-13 12:26:02 +0000 |
commit | 865a5bf84655f95e575b14c0c8f4aa33c4b84c2e (patch) | |
tree | 5cba6f2e7a60f43c0dfbda306436d029f044530c /daemon/daemon-main.c | |
parent | 2cc1c9b3d90465f997203468a350f59bbd685097 (diff) | |
download | gvfs-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/daemon-main.c')
-rw-r--r-- | daemon/daemon-main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/daemon-main.c b/daemon/daemon-main.c index 87938a71..47127a71 100644 --- a/daemon/daemon-main.c +++ b/daemon/daemon-main.c @@ -146,8 +146,8 @@ daemon_main (int argc, if (res == -1) _g_error_from_dbus (&derror, &error); else - g_set_error (&error, G_FILE_ERROR, G_FILE_ERROR_IO, - "mountpoint for %s already running", mountable_name); + g_set_error (&error, G_IO_ERROR, G_IO_ERROR_FAILED, + _("mountpoint for %s already running"), mountable_name); g_mount_source_failed (mount_source, error); exit (1); } @@ -156,8 +156,8 @@ daemon_main (int argc, daemon = g_vfs_daemon_new (FALSE, FALSE); if (daemon == NULL) { - g_set_error (&error, G_FILE_ERROR, G_FILE_ERROR_IO, - "error starting mount daemon"); + g_set_error (&error, G_IO_ERROR, G_IO_ERROR_FAILED, + _("error starting mount daemon")); g_mount_source_failed (mount_source, error); exit (1); } |