Commit 914749be authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Matthias Clasen

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's avatarFederico Mena Quintero <federico@gnome.org>
parent c027b6d2
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment