Use functions to return directories instead of constants.
authorLaurent Monin <geeqie@norz.org>
Sat, 15 Nov 2008 17:30:45 +0000 (17:30 +0000)
committerLaurent Monin <geeqie@norz.org>
Sat, 15 Nov 2008 17:30:45 +0000 (17:30 +0000)
commit788a57656d4085ba2e526a29648ec1477bafa46f
treec9fda50fc4aa3f4ff32cdb9dc0db71afcf915343
parente5dd414c28b825002568ea99797a4ad7e5bb64ad
Use functions to return directories instead of constants.
Following functions were added:
get_collections_dir()
get_metadata_cache_dir()
get_rc_dir()
get_thumbnails_cache_dir()
get_trash_dir()

They return the full directory path.
13 files changed:
src/bar_sort.c
src/cache.c
src/cache.h
src/cache_maint.c
src/collect-dlg.c
src/collect-io.c
src/main.c
src/main.h
src/options.c
src/remote.c
src/search.c
src/ui_fileops.c
src/ui_fileops.h