aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-xml-utils.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2001-10-05 09:48:39 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2001-10-05 09:48:39 +0800
commitbdc4787aef570378e11630f2248123b1c883f524 (patch)
tree7a7afc2d82230284c996f3c69996f1ea5b1b9c6c /e-util/e-xml-utils.c
parentaff0e8b749555c476fea31b21cfafd833fe53df9 (diff)
downloadgsoc2013-evolution-bdc4787aef570378e11630f2248123b1c883f524.tar.gz
gsoc2013-evolution-bdc4787aef570378e11630f2248123b1c883f524.tar.zst
gsoc2013-evolution-bdc4787aef570378e11630f2248123b1c883f524.zip
*.c s/->childs/->xmlChildrenNode/g;
2001-10-06 Michael Meeks <michael@ximian.com> * *.c s/->childs/->xmlChildrenNode/g; svn path=/trunk/; revision=13431
Diffstat (limited to 'e-util/e-xml-utils.c')
-rw-r--r--e-util/e-xml-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-xml-utils.c b/e-util/e-xml-utils.c
index 3754d42ba2..1285b5ce75 100644
--- a/e-util/e-xml-utils.c
+++ b/e-util/e-xml-utils.c
@@ -39,7 +39,7 @@ e_xml_get_child_by_name (const xmlNode *parent, const xmlChar *child_name)
g_return_val_if_fail (parent != NULL, NULL);
g_return_val_if_fail (child_name != NULL, NULL);
- for (child = parent->childs; child != NULL; child = child->next) {
+ for (child = parent->xmlChildrenNode; child != NULL; child = child->next) {
if (xmlStrcmp (child->name, child_name) == 0) {
return child;
}
@@ -70,7 +70,7 @@ e_xml_get_child_by_name_by_lang (const xmlNode *parent,
lang = setlocale (LC_CTYPE, NULL);
#endif
}
- for (child = parent->childs; child != NULL; child = child->next) {
+ for (child = parent->xmlChildrenNode; child != NULL; child = child->next) {
if (xmlStrcmp (child->name, child_name) == 0) {
xmlChar *this_lang = xmlGetProp (child, "lang");
if (this_lang == NULL) {
@@ -91,7 +91,7 @@ e_xml_get_child_by_name_by_lang_list_with_score (const xmlNode *parent,
{
xmlNodePtr best_node = NULL, node;
- for (node = parent->childs; node != NULL; node = node->next) {
+ for (node = parent->xmlChildrenNode; node != NULL; node = node->next) {
xmlChar *lang;
if (node->name == NULL || strcmp (node->name, name) != 0) {
@@ -159,7 +159,7 @@ e_xml_get_child_by_name_no_lang (const xmlNode *parent, const gchar *name)
g_return_val_if_fail (parent != NULL, NULL);
g_return_val_if_fail (name != NULL, NULL);
- for (node = parent->childs; node != NULL; node = node->next) {
+ for (node = parent->xmlChildrenNode; node != NULL; node = node->next) {
xmlChar *lang;
if (node->name == NULL || strcmp (node->name, name) != 0) {