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:
@ -786,10 +786,6 @@ add_drive (GtkPlacesView *view,
|
|||||||
GList *volumes;
|
GList *volumes;
|
||||||
GList *l;
|
GList *l;
|
||||||
|
|
||||||
/* Removable devices won't appear here */
|
|
||||||
if (g_drive_can_eject (drive))
|
|
||||||
return;
|
|
||||||
|
|
||||||
volumes = g_drive_get_volumes (drive);
|
volumes = g_drive_get_volumes (drive);
|
||||||
|
|
||||||
for (l = volumes; l != NULL; l = l->next)
|
for (l = volumes; l != NULL; l = l->next)
|
||||||
|
|||||||
Reference in New Issue
Block a user