Fix return value error in _gtk_file_system_model_get_directory

This commit is contained in:
Ting-Wei Lan 2015-07-06 03:26:48 +08:00
parent c222d59f53
commit 5436c74a19

View File

@ -2186,7 +2186,7 @@ _gtk_file_system_model_add_and_query_files (GtkFileSystemModel *model,
GFile *
_gtk_file_system_model_get_directory (GtkFileSystemModel *model)
{
g_return_if_fail (GTK_IS_FILE_SYSTEM_MODEL (model));
g_return_val_if_fail (GTK_IS_FILE_SYSTEM_MODEL (model), NULL);
return model->dir;
}