mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Remove superfluous check in node_set_filtered()
This was a copy-paste leftover from node_set_visible(). Filters are not concerned with model freezes, so node_set_filtered() does not need to handle freezes, either. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
parent
c027b6d2cd
commit
914749bebe
@ -311,10 +311,6 @@ node_set_filtered (GtkFileSystemModel *model, guint id, gboolean filtered)
|
||||
{
|
||||
FileModelNode *node = get_node (model, id);
|
||||
|
||||
if (node->filtered == filtered ||
|
||||
node->frozen_add)
|
||||
return;
|
||||
|
||||
node->filtered = filtered;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user