diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-28 11:38:53 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-20 01:36:55 -0500 |
| commit | 07d5674d3984d008de1ecc768a296afbed731e4e (patch) | |
| tree | 4390ac212b5ad00430c6328972e0180808a7eb2e /openbox/config.c | |
| parent | 1a0a1626b699c2e272ea6823b59aa7387242880e (diff) | |
move the xdg path stuff into obt/paths.[ch], and make render and openbox use it
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 5 |
1 files changed, 3 insertions, 2 deletions
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"))) |
