From 07d5674d3984d008de1ecc768a296afbed731e4e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 28 Jul 2007 11:38:53 -0400 Subject: move the xdg path stuff into obt/paths.[ch], and make render and openbox use it --- openbox/config.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openbox/config.c') diff --git a/openbox/config.c b/openbox/config.c index 70e44d76..b2bfd8db 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -26,6 +26,7 @@ #include "screen.h" #include "openbox.h" #include "gettext.h" +#include "obt/paths.h" gboolean config_focus_new; gboolean config_focus_follow; @@ -511,7 +512,7 @@ static void parse_theme(xmlNodePtr node, gpointer d) g_free(config_theme); c = obt_parse_node_string(n); - config_theme = parse_expand_tilde(c); + config_theme = obt_paths_expand_tilde(c); g_free(c); } if ((n = obt_parse_find_node(node, "titleLayout"))) { @@ -743,7 +744,7 @@ static void parse_menu(xmlNodePtr node, gpointer d) c = obt_parse_node_string(node); config_menu_files = g_slist_append(config_menu_files, - parse_expand_tilde(c)); + obt_paths_expand_tilde(c)); g_free(c); } if ((n = obt_parse_find_node(node, "hideDelay"))) -- cgit v1.2.3