From 45087efbcdeec8a4cc985125a656a4bd6e9f3b3e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 5 Mar 2007 16:23:13 +0000 Subject: point and padding became redundant.. do remove padding type from xsd and use point type. also fix bug in theme parser where it was looking for wrong one. --- render/theme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/theme.c') diff --git a/render/theme.c b/render/theme.c index c31ca112..95b48896 100644 --- a/render/theme.c +++ b/render/theme.c @@ -1307,8 +1307,8 @@ static gboolean find_point(ParseState *ps, xmlNodePtr n, gchar *names[], { if ((n = find_node(n, names))) { gint a, b; - if (parse_attr_int("horizontal", n, &a) && - parse_attr_int("vertical", n, &b) && + if (parse_attr_int("x", n, &a) && + parse_attr_int("y", n, &b) && a >= lowx && a <= upx && b >= lowy && b <= upy) { *x = a; *y = b; -- cgit v1.2.3