projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a57144
)
gfile: add g_return_if_fail to g_file_make_directory_with_parents()
author
Paolo Borelli
<pborelli@gnome.org>
Tue, 15 May 2012 15:38:44 +0000
(17:38 +0200)
committer
Paolo Borelli
<pborelli@gnome.org>
Tue, 15 May 2012 15:39:38 +0000
(17:39 +0200)
gio/gfile.c
patch
|
blob
|
history
diff --git
a/gio/gfile.c
b/gio/gfile.c
index
ba3c95e
..
8406a93
100644
(file)
--- a/
gio/gfile.c
+++ b/
gio/gfile.c
@@
-3404,6
+3404,8
@@
g_file_make_directory_with_parents (GFile *file,
GList *list = NULL, *l;
GError *my_error = NULL;
+ g_return_val_if_fail (G_IS_FILE (file), FALSE);
+
if (g_cancellable_set_error_if_cancelled (cancellable, error))
return FALSE;