diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-02 05:13:19 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-02 05:13:19 +0800 |
commit | 188a9f0afa2ac898b9bc90c0301c760a7224d100 (patch) | |
tree | ca5e6bcb7bbd204e8df77db35e7f242232554a9f /e-util/e-xml-utils.c-56826 | |
parent | 7de868bec9079a283fb290c64b02306683f552ba (diff) | |
download | gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.tar.gz gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.tar.zst gsoc2013-evolution-188a9f0afa2ac898b9bc90c0301c760a7224d100.zip |
Constified XML utility functions.
svn path=/trunk/; revision=2722
Diffstat (limited to 'e-util/e-xml-utils.c-56826')
-rw-r--r-- | e-util/e-xml-utils.c-56826 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-xml-utils.c-56826 b/e-util/e-xml-utils.c-56826 index 7e88dbaedd..33b9d28235 100644 --- a/e-util/e-xml-utils.c-56826 +++ b/e-util/e-xml-utils.c-56826 @@ -25,7 +25,7 @@ #include <gnome-xml/parser.h> -xmlNode *e_xml_get_child_by_name(xmlNode *parent, xmlChar *child_name) +xmlNode *e_xml_get_child_by_name(xmlNode *parent, const xmlChar *child_name) { xmlNode *child; @@ -45,7 +45,7 @@ xmlNode *e_xml_get_child_by_name(xmlNode *parent, xmlChar *child_name) * child with the name child_name and no "lang" attribute. */ xmlNode * -e_xml_get_child_by_name_by_lang(xmlNode *parent, xmlChar *child_name, char *lang) +e_xml_get_child_by_name_by_lang(xmlNode *parent, const xmlChar *child_name, const char *lang) { xmlNode *child; /* This is the default version of the string. */ @@ -71,7 +71,7 @@ e_xml_get_child_by_name_by_lang(xmlNode *parent, xmlChar *child_name, char *lang } int -e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name) +e_xml_get_integer_prop_by_name(xmlNode *parent, const xmlChar *prop_name) { xmlChar *prop; @@ -86,7 +86,7 @@ e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name) } void -e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value) +e_xml_set_integer_prop_by_name(xmlNode *parent, const xmlChar *prop_name, int value) { xmlChar *valuestr; |