projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c222d59
)
Fix return value error in _gtk_file_system_model_get_directory
author
Ting-Wei Lan
<lantw@src.gnome.org>
Sun, 5 Jul 2015 19:26:48 +0000
(
03:26
+0800)
committer
Ting-Wei Lan
<lantw@src.gnome.org>
Sun, 5 Jul 2015 19:27:42 +0000
(
03:27
+0800)
gtk/gtkfilesystemmodel.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilesystemmodel.c
b/gtk/gtkfilesystemmodel.c
index 1485fc2405bb32913e9422356ea8838b685170d5..32e2cacf2d72357eab9cc3ca60a58a067fc4517e 100644
(file)
--- a/
gtk/gtkfilesystemmodel.c
+++ b/
gtk/gtkfilesystemmodel.c
@@
-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;
}