From 6166fccf30a7283dab79371b2d5b5c580b9d3913 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 2 Sep 2009 18:26:00 -0500 Subject: [PATCH] Fix thinko in node_should_be_visible() Signed-off-by: Federico Mena Quintero --- gtk/gtkfilesystemmodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index c2fe884e0e..c66c20c692 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -313,7 +313,7 @@ node_should_be_visible (GtkFileSystemModel *model, guint id) if (required & GTK_FILE_FILTER_FILENAME) { filename = g_file_get_path (node->file); - if (filter_info.filename) + if (filename) { filter_info.filename = filename; filter_info.contains |= GTK_FILE_FILTER_FILENAME;