placesview: Simplify

http://www.viva64.com/en/b/0383/
This commit is contained in:
Benjamin Otte 2016-03-20 05:18:38 +01:00
parent c6834a002f
commit 3308122c32

View File

@ -705,8 +705,7 @@ add_volume (GtkPlacesView *view,
name = g_volume_get_name (volume);
path = !is_network ? g_volume_get_identifier (volume, G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE) : NULL;
if (!mount ||
(mount && !g_mount_is_shadowed (mount)))
if (!mount || !g_mount_is_shadowed (mount))
{
GtkWidget *row;