From bdc4787aef570378e11630f2248123b1c883f524 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 5 Oct 2001 01:48:39 +0000 Subject: *.c s/->childs/->xmlChildrenNode/g; 2001-10-06 Michael Meeks * *.c s/->childs/->xmlChildrenNode/g; svn path=/trunk/; revision=13431 --- e-util/e-xml-utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'e-util/e-xml-utils.c') 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) { -- cgit v1.2.3