Commit 2a4235d0 authored by Paolo Borelli's avatar Paolo Borelli

gfile: add g_return_if_fail to g_file_make_directory_with_parents()

parent 5a57144d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment