summaryrefslogtreecommitdiff
path: root/openbox/actions/execute.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-28 11:38:53 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:55 -0500
commit07d5674d3984d008de1ecc768a296afbed731e4e (patch)
tree4390ac212b5ad00430c6328972e0180808a7eb2e /openbox/actions/execute.c
parent1a0a1626b699c2e272ea6823b59aa7387242880e (diff)
move the xdg path stuff into obt/paths.[ch], and make render and openbox use it
Diffstat (limited to 'openbox/actions/execute.c')
-rw-r--r--openbox/actions/execute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c
index 6b84ce40..5a747270 100644
--- a/openbox/actions/execute.c
+++ b/openbox/actions/execute.c
@@ -2,6 +2,7 @@
#include "openbox/event.h"
#include "openbox/startupnotify.h"
#include "openbox/screen.h"
+#include "obt/paths.h"
#include "gettext.h"
typedef struct {
@@ -39,7 +40,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);
}