gvfs r1084 - in trunk: . client



Author: alexl
Date: Wed Jan  9 14:44:47 2008
New Revision: 1084
URL: http://svn.gnome.org/viewvc/gvfs?rev=1084&view=rev

Log:
2008-01-09  Alexander Larsson  <alexl redhat com>

	* client/gdaemonvfs.c (_g_daemon_vfs_get_mount_info_sync):
	Better error return on not mounted.



Modified:
   trunk/ChangeLog
   trunk/client/gdaemonvfs.c

Modified: trunk/client/gdaemonvfs.c
==============================================================================
--- trunk/client/gdaemonvfs.c	(original)
+++ trunk/client/gdaemonvfs.c	Wed Jan  9 14:44:47 2008
@@ -703,9 +703,7 @@
 
   if (!reply)
     {
-      g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
-		   "Error while getting mount info: %s",
-		   derror.message);
+      _g_error_from_dbus (&derror, error);
       dbus_error_free (&derror);
       return NULL;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]