Revision: 1241
http://geeqie.svn.sourceforge.net/geeqie/?rev=1241&view=rev
Author: zas_
Date: 2008-11-15 17:48:31 +0000 (Sat, 15 Nov 2008)
Log Message:
-----------
Rename check_for_home_path() to mkdir_if_not_exists().
Modified Paths:
--------------
trunk/src/main.c
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2008-11-15 17:30:45 UTC (rev 1240)
+++ trunk/src/main.c 2008-11-15 17:48:31 UTC (rev 1241)
@@ -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();
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn