summaryrefslogtreecommitdiff
path: root/openbox/actions/movetoedge.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions/movetoedge.c')
-rw-r--r--openbox/actions/movetoedge.c4
1 files changed, 2 insertions, 2 deletions
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;