mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 07:30:09 +00:00
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:
parent
983c61826b
commit
569be9f111
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user