Fix thinko in node_should_be_visible()

Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
Federico Mena Quintero 2009-09-02 18:26:00 -05:00 committed by Benjamin Otte
parent 908911d6db
commit 6166fccf30

View File

@ -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;