X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Frestart.c;h=7d1689cbd2450b6abc8942e20369e4048dbf3e68;hb=16433ce06c083de8c725b8dc906f47c1333e3b33;hp=01de4f9a752ee9c62803c9ddfccef416df8aa096;hpb=965ed8907a5dd81d5ffbc93b67a672fa78833854;p=chaz%2Fopenbox diff --git a/openbox/actions/restart.c b/openbox/actions/restart.c index 01de4f9a..7d1689cb 100644 --- a/openbox/actions/restart.c +++ b/openbox/actions/restart.c @@ -22,10 +22,10 @@ static gpointer setup_func(xmlNodePtr node) o = g_new0(Options, 1); - if ((n = obt_parse_find_node(node, "command")) || - (n = obt_parse_find_node(node, "execute"))) + if ((n = obt_xml_find_node(node, "command")) || + (n = obt_xml_find_node(node, "execute"))) { - gchar *s = obt_parse_node_string(n); + gchar *s = obt_xml_node_string(n); o->cmd = obt_paths_expand_tilde(s); g_free(s); }