diff options
author | Federico Mena Quintero <federico@gnome.org> | 2012-07-11 14:58:32 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-07-15 00:41:48 -0400 |
commit | 914749bebe19c235fa166a90fc13b655914d551f (patch) | |
tree | ccd3b7d8b34f26a57cac0eb1805925e97b6628c6 /gtk/gtkfilesystemmodel.c | |
parent | c027b6d2cd2cd6d290330f30893e1ffda202140a (diff) | |
download | gtk+-914749bebe19c235fa166a90fc13b655914d551f.tar.gz |
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>
Diffstat (limited to 'gtk/gtkfilesystemmodel.c')
-rw-r--r-- | gtk/gtkfilesystemmodel.c | 4 |
1 files changed, 0 insertions, 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; } |