gtkplacesview: remove dead code

This is checked on add_volume inside the loop.

https://bugzilla.gnome.org/show_bug.cgi?id=756589
This commit is contained in:
Carlos Soriano 2015-10-14 21:47:39 +02:00
parent 983c61826b
commit 569be9f111

View File

@ -786,10 +786,6 @@ add_drive (GtkPlacesView *view,
GList *volumes;
GList *l;
/* Removable devices won't appear here */
if (g_drive_can_eject (drive))
return;
volumes = g_drive_get_volumes (drive);
for (l = volumes; l != NULL; l = l->next)