aboutsummaryrefslogtreecommitdiffstats
path: root/filter/score-rule.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-13 17:31:06 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-11-13 17:31:06 +0800
commitac1de7eaf96bb7adbf0c58ca2c3a3466654aaead (patch)
tree95fb67eb0a7c115f03fb7cf0199ebc0d13712d3c /filter/score-rule.c
parent9e4f25d532f59d85034cbef768bb941f748fb1f2 (diff)
downloadgsoc2013-evolution-ac1de7eaf96bb7adbf0c58ca2c3a3466654aaead.tar
gsoc2013-evolution-ac1de7eaf96bb7adbf0c58ca2c3a3466654aaead.tar.gz
gsoc2013-evolution-ac1de7eaf96bb7adbf0c58ca2c3a3466654aaead.tar.bz2
gsoc2013-evolution-ac1de7eaf96bb7adbf0c58ca2c3a3466654aaead.tar.lz
gsoc2013-evolution-ac1de7eaf96bb7adbf0c58ca2c3a3466654aaead.tar.xz
gsoc2013-evolution-ac1de7eaf96bb7adbf0c58ca2c3a3466654aaead.tar.zst
gsoc2013-evolution-ac1de7eaf96bb7adbf0c58ca2c3a3466654aaead.zip
Get the root node properly.
2002-11-13 Not Zed <NotZed@Ximian.com> * rule-context.c (load): Get the root node properly. * rule-editor.c (rule_add): cast g_object_weak_ref (rule_edit): " * all: xml2 node change - childs->children. Also, ignore 'text' nodes while scanning tree. * rule-context.h: gnome-xml->libxml. * filter-element.h: gnome-xml->libxml svn path=/trunk/; revision=18732
Diffstat (limited to 'filter/score-rule.c')
-rw-r--r--filter/score-rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/score-rule.c b/filter/score-rule.c
index 55c25d7a24..7ba443594c 100644
--- a/filter/score-rule.c
+++ b/filter/score-rule.c
@@ -139,7 +139,7 @@ xml_decode (FilterRule *fr, xmlNodePtr node, struct _RuleContext *f)
if (result != 0)
return result;
- value = node->childs;
+ value = node->children;
while (value) {
if (!strcmp (value->name, "score")) {
str = xmlGetProp (value, "value");