Index: gnome-panel/panel-menu-items.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/panel-menu-items.c,v
retrieving revision 1.27
diff -u -p -r1.27 panel-menu-items.c
--- gnome-panel/panel-menu-items.c	24 Mar 2006 21:46:29 -0000	1.27
+++ gnome-panel/panel-menu-items.c	1 Apr 2006 11:23:06 -0000
@@ -458,26 +458,6 @@ panel_place_menu_item_append_gtk_bookmar
 	g_slist_free (add_bookmarks);
 }
 
-static gint
-panel_place_menu_item_sort_volume (GnomeVFSVolume *volume_a,
-				   GnomeVFSVolume *volume_b) {
-	char *display_a;
-	char *display_b;
-	int   retval;
-
-	g_return_val_if_fail (volume_a && volume_b, 0);
-
-	display_a = gnome_vfs_volume_get_display_name (volume_a);
-	display_b = gnome_vfs_volume_get_display_name (volume_b);
-
-	retval = g_utf8_collate (display_a, display_b);
-
-	g_free (display_a);
-	g_free (display_b);
-
-	return retval;
-}
-
 static void
 panel_place_menu_item_append_volumes (GtkWidget *menu,
 				      gboolean   connected_volumes)
@@ -512,7 +492,7 @@ panel_place_menu_item_append_volumes (Gt
 
 	if (connected_volumes)
 		add_volumes = g_slist_sort (add_volumes,
-					    (GCompareFunc) panel_place_menu_item_sort_volume);
+					    (GCompareFunc) gnome_vfs_volume_compare);
 	else
 		add_volumes = g_slist_reverse (add_volumes);
 
