Mercurial > geeqie.yaz
changeset 1146:11b93d0791db
Rename check_for_home_path() to mkdir_if_not_exists().
author | zas_ |
---|---|
date | Sat, 15 Nov 2008 17:48:31 +0000 |
parents | 3a7af6a8cd5f |
children | 4220d5536ad9 |
files | src/main.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.c Sat Nov 15 17:30:45 2008 +0000 +++ b/src/main.c Sat Nov 15 17:48:31 2008 +0000 @@ -444,7 +444,7 @@ g_free(path); } -static void check_for_home_path(const gchar *path) +static void mkdir_if_not_exists(const gchar *path) { if (isdir(path)) return; @@ -717,10 +717,10 @@ log_printf("!!! %s may quit unexpectedly with a relocation error.\n", GQ_APPNAME); } - check_for_home_path(get_rc_dir()); - check_for_home_path(get_collections_dir()); - check_for_home_path(get_thumbnails_cache_dir()); - check_for_home_path(get_metadata_cache_dir()); + mkdir_if_not_exists(get_rc_dir()); + mkdir_if_not_exists(get_collections_dir()); + mkdir_if_not_exists(get_thumbnails_cache_dir()); + mkdir_if_not_exists(get_metadata_cache_dir()); keys_load(); filter_add_defaults();