Mercurial > geeqie
diff src/thumb_standard.c @ 1148:95860439070b
Replace cache_ensure_dir_exists() by new recursive_mkdir_if_not_exists().
author | zas_ |
---|---|
date | Sat, 15 Nov 2008 20:01:25 +0000 |
parents | 1646720364cf |
children | 8b89e3ff286b |
line wrap: on
line diff
--- a/src/thumb_standard.c Sat Nov 15 19:13:43 2008 +0000 +++ b/src/thumb_standard.c Sat Nov 15 20:01:25 2008 +0000 @@ -14,7 +14,6 @@ #include "main.h" #include "thumb_standard.h" -#include "cache.h" /* for cache_ensure_dir_exists */ #include "image-load.h" #include "md5-util.h" #include "pixbuf_util.h" @@ -319,14 +318,14 @@ source_base = remove_level_from_path(tl->fd->path); if (stat_utf8(source_base, &st)) { - cache_ensure_dir_exists(base_path, st.st_mode); + recursive_mkdir_if_not_exists(base_path, st.st_mode); } g_free(source_base); } } else { - cache_ensure_dir_exists(base_path, THUMB_PERMS_FOLDER); + recursive_mkdir_if_not_exists(base_path, THUMB_PERMS_FOLDER); } g_free(base_path);