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/actions/restart.c | |
| parent | 1a0a1626b699c2e272ea6823b59aa7387242880e (diff) | |
move the xdg path stuff into obt/paths.[ch], and make render and openbox use it
Diffstat (limited to 'openbox/actions/restart.c')
| -rw-r--r-- | openbox/actions/restart.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
