Commit 5436c74a authored by Ting-Wei Lan's avatar Ting-Wei Lan

Fix return value error in _gtk_file_system_model_get_directory

parent c222d59f
......@@ -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;
}
......
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