libgnomeui r5501 - in trunk: . file-chooser



Author: tml
Date: Tue Jan 22 23:31:51 2008
New Revision: 5501
URL: http://svn.gnome.org/viewvc/libgnomeui?rev=5501&view=rev

Log:
2008-01-23  Tor Lillqvist  <tml novell com>

	* file-chooser/gtkfilesystemgnomevfs.c
	(gtk_file_system_gnome_vfs_volume_mount): No
	gnome_vfs_drive_mount() on Win32, at least for now, so bypass this
	function and call g_warning() on Win32.



Modified:
   trunk/ChangeLog
   trunk/file-chooser/gtkfilesystemgnomevfs.c

Modified: trunk/file-chooser/gtkfilesystemgnomevfs.c
==============================================================================
--- trunk/file-chooser/gtkfilesystemgnomevfs.c	(original)
+++ trunk/file-chooser/gtkfilesystemgnomevfs.c	Tue Jan 22 23:31:51 2008
@@ -1911,6 +1911,7 @@
 					GtkFileSystemVolumeMountCallback  callback,
 					gpointer                          data)
 {
+#ifndef G_OS_WIN32
   if (GNOME_IS_VFS_DRIVE (volume))
     {
       struct VolumeMountData *op_data;
@@ -1959,6 +1960,9 @@
       g_warning ("%p is not a valid volume", volume);
       return NULL;
     }
+#else
+  g_warning ("gnome_vfs_drive_mount() not implemented on Win32");
+#endif
 
   return NULL;
 }



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