aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r--lib/ephy-file-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 8777c9616..271d362a8 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -372,7 +372,7 @@ ephy_ensure_dir_exists (const char *dir,
}
if (!g_file_test (dir, G_FILE_TEST_EXISTS) &&
- mkdir (dir, 488) != 0)
+ g_mkdir_with_parents (dir, 488) != 0)
{
g_set_error (error,
EPHY_FILE_HELPERS_ERROR_QUARK,