mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gfile: add g_return_if_fail to g_file_make_directory_with_parents()
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user