[gtk+/composite-templates] Remove superfluous check in node_set_filtered()
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] Remove superfluous check in node_set_filtered()
- Date: Sun, 15 Jul 2012 21:50:41 +0000 (UTC)
commit a5ee1aaabdf1a4166ec2e99c954174118fbc54cb
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Jul 11 14:58:32 2012 -0500
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>
gtk/gtkfilesystemmodel.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index 4818ba7..0d70f34 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]