filesystemmodel: Fix a compiler warning

This commit is contained in:
Matthias Clasen 2022-10-21 07:44:13 -04:00
parent 25cf702345
commit c0e8523a01

View File

@ -291,10 +291,7 @@ node_set_visible_and_filtered_out (GtkFileSystemModel *model, guint id, gboolean
}
else
{
guint row;
row = node_get_tree_row (model, id);
g_assert (row < model->files->len);
g_assert (node_get_tree_row (model, id) < model->files->len);
node->visible = FALSE;
node_invalidate_index (model, id);