From 9cbba714fc0eb122c0736b94727b4d2580b9d53c Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 3 Nov 2002 19:36:39 +0000 Subject: Updated for libxml2. Likewise. Likewise. Likewise. * e-component-info.c: Updated for libxml2. * e-shortcuts.c: Likewise. * e-folder-list.c: Likewise. * e-local-folder.c: Likewise. svn path=/trunk/; revision=18512 --- shell/e-component-info.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'shell/e-component-info.c') diff --git a/shell/e-component-info.c b/shell/e-component-info.c index 19d999a868..8cb93d5c09 100644 --- a/shell/e-component-info.c +++ b/shell/e-component-info.c @@ -28,8 +28,8 @@ #include "e-util/e-lang-utils.h" -#include -#include +#include +#include #include #include @@ -54,7 +54,7 @@ lookup_node (xmlNode *parent_node, { xmlNode *p; - for (p = parent_node->childs; p != NULL; p = p->next) { + for (p = parent_node->children; p != NULL; p = p->next) { if (strcmp ((const char *) p->name, node_name) == 0) return p; } @@ -82,7 +82,7 @@ lookup_node_for_language (xmlNode *parent_node, { xmlNode *p; - for (p = parent_node->childs; p != NULL; p = p->next) { + for (p = parent_node->children; p != NULL; p = p->next) { xmlChar *node_language_id; if (strcmp ((const char *) p->name, node_name) != 0) @@ -226,7 +226,7 @@ e_component_info_load (const char *file_name) new->uri_schemas = NULL; new->user_creatable_item_types = NULL; - for (p = root->childs; p != NULL; p = p->next) { + for (p = root->children; p != NULL; p = p->next) { if (strcmp ((char *) p->name, "folder_type") == 0) add_folder_type (new, p, language_list); else if (strcmp ((char *) p->name, "user_creatable_item_type") == 0) -- cgit v1.2.3