aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-uid-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-uid-cache.c')
-rw-r--r--camel/camel-uid-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-uid-cache.c b/camel/camel-uid-cache.c
index 933f8b68e1..a1dc7c660b 100644
--- a/camel/camel-uid-cache.c
+++ b/camel/camel-uid-cache.c
@@ -85,7 +85,7 @@ camel_uid_cache_new (const char *filename)
char *dirname, *buf, **uids;
int fd, i;
- dirname = g_dirname (filename);
+ dirname = g_path_get_dirname (filename);
mkdir_heir (dirname, 0700);
g_free (dirname);