summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2008-06-20 20:39:22 +0000
committerHans Breuer <hans@src.gnome.org>2008-06-20 20:39:22 +0000
commit8e2ef4982b50bebf9874504ce1782809c994aa91 (patch)
tree275986d1f7db2bf0c73aef7b85d947a1664a849b /gtk/gtkfilesystem.c
parent2e75eb1330c144cfde8e81b9510953d2e5a76384 (diff)
downloadgtk+-8e2ef4982b50bebf9874504ce1782809c994aa91.tar.gz
must return a value of the appropriate type with g_return_val_if_fail
2008-06-20 Hans Breuer <hans@breuer.org> * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return a value of the appropriate type with g_return_val_if_fail * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well * gtk/gtkfilesystem.c : don't add the "File System" on win32 * tests/makefile.msc : remove broken autotestfile(system|chooser) from build svn path=/trunk/; revision=20657
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 8ec0e67e28..d76808372b 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -555,8 +555,10 @@ _gtk_file_system_list_volumes (GtkFileSystem *file_system)
list = g_slist_copy (priv->volumes);
+#ifndef G_OS_WIN32
/* Prepend root volume */
list = g_slist_prepend (list, (gpointer) root_volume_token);
+#endif
return list;
}