aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-mktemp.c')
-rw-r--r--e-util/e-mktemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-mktemp.c b/e-util/e-mktemp.c
index 56345d9c68..2b4fdf5d47 100644
--- a/e-util/e-mktemp.c
+++ b/e-util/e-mktemp.c
@@ -113,7 +113,7 @@ get_dir (gboolean make)
tmpdir = g_build_filename(g_get_home_dir(), ".evolution",
"cache", "tmp", NULL);
path = g_string_new(tmpdir);
- if (make && e_util_mkdir_hier(tmpdir, 0777) == -1) {
+ if (make && g_mkdir_with_parents(tmpdir, 0777) == -1) {
g_string_free(path, TRUE);
path = NULL;
}