# HG changeset patch # User zas_ # Date 1226771311 0 # Node ID 11b93d0791db70ad4202587ae8c53d81fd39e99b # Parent 3a7af6a8cd5f9672949e27592d6286f399c64b95 Rename check_for_home_path() to mkdir_if_not_exists(). diff -r 3a7af6a8cd5f -r 11b93d0791db src/main.c --- 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();