core: Remove last user of g_file_new()
This commit is contained in:
parent
12f2d89174
commit
6591e586ed
|
|
@ -36,7 +36,7 @@ ot_util_ensure_directory (const char *path, gboolean with_parents, GError **erro
|
||||||
GError *temp_error = NULL;
|
GError *temp_error = NULL;
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
|
|
||||||
dir = g_file_new_for_path (path);
|
dir = ot_util_new_file_for_path (path);
|
||||||
if (with_parents)
|
if (with_parents)
|
||||||
ret = g_file_make_directory_with_parents (dir, NULL, &temp_error);
|
ret = g_file_make_directory_with_parents (dir, NULL, &temp_error);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue