mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +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
|
else
|
||||||
{
|
{
|
||||||
guint row;
|
g_assert (node_get_tree_row (model, id) < model->files->len);
|
||||||
|
|
||||||
row = node_get_tree_row (model, id);
|
|
||||||
g_assert (row < model->files->len);
|
|
||||||
|
|
||||||
node->visible = FALSE;
|
node->visible = FALSE;
|
||||||
node_invalidate_index (model, id);
|
node_invalidate_index (model, id);
|
||||||
|
Loading…
Reference in New Issue
Block a user