From 914749bebe19c235fa166a90fc13b655914d551f Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 11 Jul 2012 14:58:32 -0500 Subject: [PATCH] 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 --- gtk/gtkfilesystemmodel.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index 4818ba7d78..0d70f34215 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -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; }