Commit 55a04b1d authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Benjamin Otte

Make the code match the docs in _gtk_file_system_model_clear_cache()

Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>
parent 112d2430
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment