summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-22 00:29:33 +0000
committerDana Jansens <danakj@orodu.net>2007-04-22 00:29:33 +0000
commit213426194f57bfcf6b0c0d1361871c7ac3ecd02b (patch)
treefb48156e88a8e96eefd7761737a3cae2ad2cc2fa /parser
parentda04050c9a539ba93e29ad8e4c5d104386b27989 (diff)
look in sysconfdir before looking in /etc/xdg. this kinda violates the spec, i think, but i don't see any other proper alternative really.
Diffstat (limited to 'parser')
-rw-r--r--parser/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/parser/parse.c b/parser/parse.c
index 63d53ce7..52ab920b 100644
--- a/parser/parse.c
+++ b/parser/parse.c
@@ -394,13 +394,13 @@ void parse_paths_startup()
xdg_config_dir_paths = split_paths(path);
else {
xdg_config_dir_paths = slist_path_add(xdg_config_dir_paths,
+ g_strdup(CONFIGDIR),
+ (GSListFunc) g_slist_append);
+ xdg_config_dir_paths = slist_path_add(xdg_config_dir_paths,
g_build_filename
(G_DIR_SEPARATOR_S,
"etc", "xdg", NULL),
(GSListFunc) g_slist_append);
- xdg_config_dir_paths = slist_path_add(xdg_config_dir_paths,
- g_strdup(CONFIGDIR),
- (GSListFunc) g_slist_append);
}
xdg_config_dir_paths = slist_path_add(xdg_config_dir_paths,
g_strdup(xdg_config_home_path),