[gtk+/filesystemmodel] Fix thinko in node_should_be_visible()



commit c79c73161cce87fff4f75e813a54ef205e16a372
Author: Federico Mena Quintero <federico novell com>
Date:   Wed Sep 2 18:26:00 2009 -0500

    Fix thinko in node_should_be_visible()
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 gtk/gtkfilesystemmodel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index c2fe884..c66c20c 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]