Make the code match the docs in _gtk_file_system_model_clear_cache()

Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
Federico Mena Quintero 2009-09-04 13:53:46 -05:00 committed by Benjamin Otte
parent 112d2430be
commit 55a04b1da0

View File

@ -1920,7 +1920,7 @@ _gtk_file_system_model_thaw_updates (GtkFileSystemModel *model)
}
/**
* _gtk_file_system_model_clear_cached_values:
* _gtk_file_system_model_clear_cache:
* @model: a #GtkFileSystemModel
* @column: the column to clear or -1 for all columns
*
@ -1941,7 +1941,7 @@ _gtk_file_system_model_clear_cache (GtkFileSystemModel *model,
g_return_if_fail (GTK_IS_FILE_SYSTEM_MODEL (model));
g_return_if_fail (column >= -1 && (guint) column < model->n_columns);
if (column)
if (column > -1)
{
start = column;
end = column + 1;