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/actions/restart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/actions/restart.c') diff --git a/openbox/actions/restart.c b/openbox/actions/restart.c index 0afe8bf0..47f332b1 100644 --- a/openbox/actions/restart.c +++ b/openbox/actions/restart.c @@ -1,5 +1,6 @@ #include "openbox/actions.h" #include "openbox/openbox.h" +#include "obt/paths.h" typedef struct { gchar *cmd; @@ -25,7 +26,7 @@ static gpointer setup_func(xmlNodePtr node) (n = obt_parse_find_node(node, "execute"))) { gchar *s = obt_parse_node_string(n); - o->cmd = parse_expand_tilde(s); + o->cmd = obt_paths_expand_tilde(s); g_free(s); } return o; -- cgit v1.2.3