]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/restart.c
move the xdg path stuff into obt/paths.[ch], and make render and openbox use it
[chaz/openbox] / openbox / actions / restart.c
index 0afe8bf016c68f9415b9095deb7ff3fdb7c78cf5..47f332b184ee9cd4f04c45aa8855550ab4af47f6 100644 (file)
@@ -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;
This page took 0.021328 seconds and 4 git commands to generate.