summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystemmodel.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2009-09-02 18:26:00 -0500
committerBenjamin Otte <otte@gnome.org>2009-10-15 22:06:16 +0200
commit6166fccf30a7283dab79371b2d5b5c580b9d3913 (patch)
tree0f101cf92a105e7958126db1f17be75827aa49cd /gtk/gtkfilesystemmodel.c
parent908911d6db7b5a2304b0421ecf37c181768b4c66 (diff)
downloadgtk+-6166fccf30a7283dab79371b2d5b5c580b9d3913.tar.gz
Fix thinko in node_should_be_visible()
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'gtk/gtkfilesystemmodel.c')
-rw-r--r--gtk/gtkfilesystemmodel.c2
1 files changed, 1 insertions, 1 deletions
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;