X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Factions%2Fmovetoedge.c;h=f81ded41e0ee8a405f4b4c439e00c8f8e20b0947;hb=73575c10ce3ede1637e4f959b56e1f7d5f110b91;hp=e7384dadc277bb9f6faaf31e234e73a995449730;hpb=965ed8907a5dd81d5ffbc93b67a672fa78833854;p=chaz%2Fopenbox diff --git a/openbox/actions/movetoedge.c b/openbox/actions/movetoedge.c index e7384dad..f81ded41 100644 --- a/openbox/actions/movetoedge.c +++ b/openbox/actions/movetoedge.c @@ -35,8 +35,8 @@ static gpointer setup_func(xmlNodePtr node) o = g_new0(Options, 1); o->dir = OB_DIRECTION_NORTH; - if ((n = obt_parse_find_node(node, "direction"))) { - gchar *s = obt_parse_node_string(n); + if ((n = obt_xml_find_node(node, "direction"))) { + gchar *s = obt_xml_node_string(n); if (!g_ascii_strcasecmp(s, "north") || !g_ascii_strcasecmp(s, "up")) o->dir = OB_DIRECTION_NORTH;