forked from AuroraMiddleware/gtk
Fix return value error in _gtk_file_system_model_get_directory
This commit is contained in:
parent
c222d59f53
commit
5436c74a19
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user