X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=parser%2Fparse.c;h=52ab920b7f50692a041369cc88ce3b115ac8e53c;hb=ff43372da760c84e92ca7a7e9648d09fcfba2cf0;hp=63d53ce7990ffb8851e75c3a72d74538463b0b29;hpb=da04050c9a539ba93e29ad8e4c5d104386b27989;p=chaz%2Fopenbox diff --git a/parser/parse.c b/parser/parse.c index 63d53ce7..52ab920b 100644 --- a/parser/parse.c +++ b/parser/parse.c @@ -393,14 +393,14 @@ void parse_paths_startup() if (path && path[0] != '\0') /* not unset or empty */ 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),