summaryrefslogtreecommitdiff
path: root/src/file-utils.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-19 15:20:34 +0100
committerinfirit <[email protected]>2014-11-19 15:44:09 +0100
commit10d6972d37355198a63309142ae9875fdcc222f6 (patch)
treeeb447d06bb1a668f241c44c07895622558f3ab5b /src/file-utils.h
parent5591da29a5027de4f8ec5c967d2d0ff6ba579af0 (diff)
downloadengrampa-10d6972d37355198a63309142ae9875fdcc222f6.tar.bz2
engrampa-10d6972d37355198a63309142ae9875fdcc222f6.tar.xz
use g_get_user_config_dir instead of using .config/mate
Also provide an automatic migration mechanism. Based on FR commit: 7fd220a834f16b260da8f5ddc1250c43b9dbefd8 From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src/file-utils.h')
-rw-r--r--src/file-utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file-utils.h b/src/file-utils.h
index 65b4beb..0c91199 100644
--- a/src/file-utils.h
+++ b/src/file-utils.h
@@ -109,6 +109,8 @@ gboolean is_program_available (const char *filename,
const char * get_home_uri (void);
char * get_home_relative_uri (const char *partial_uri);
GFile * get_home_relative_file (const char *partial_uri);
+GFile * get_user_config_subdirectory (const char *child_name,
+ gboolean create_);
const char * remove_host_from_uri (const char *uri);
char * get_uri_host (const char *uri);
char * get_uri_root (const char *uri);