mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 05:02:10 +01:00
gfile: add g_return_if_fail to g_file_make_directory_with_parents()
This commit is contained in:
parent
5a57144d57
commit
2a4235d0f3
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user