mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
filesystemmodel: Fix a compiler warning
This commit is contained in:
parent
25cf702345
commit
c0e8523a01
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user