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:
Federico Mena Quintero 2012-07-11 14:58:32 -05:00 committed by Matthias Clasen
parent c027b6d2cd
commit 914749bebe

View File

@ -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;
}