summaryrefslogtreecommitdiff
path: root/openbox/actions/growtoedge.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions/growtoedge.c')
-rw-r--r--openbox/actions/growtoedge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/actions/growtoedge.c b/openbox/actions/growtoedge.c
index 0c39a63e..9589d3f6 100644
--- a/openbox/actions/growtoedge.c
+++ b/openbox/actions/growtoedge.c
@@ -41,8 +41,8 @@ static gpointer setup_func(xmlNodePtr node)
o->dir = OB_DIRECTION_NORTH;
o->shrink = FALSE;
- 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;