Mercurial > pidgin
changeset 27121:350f097019eb
These parameters aren't modified
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 19 Jun 2009 00:01:39 +0000 |
parents | 9ff4b4cbc4c9 |
children | d06f9250cf5a |
files | libpurple/xmlnode.c libpurple/xmlnode.h |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/xmlnode.c Fri Jun 19 00:00:25 2009 +0000 +++ b/libpurple/xmlnode.c Fri Jun 19 00:01:39 2009 +0000 @@ -382,7 +382,7 @@ } char * -xmlnode_get_data(xmlnode *node) +xmlnode_get_data(const xmlnode *node) { GString *str = NULL; xmlnode *c; @@ -405,7 +405,7 @@ } char * -xmlnode_get_data_unescaped(xmlnode *node) +xmlnode_get_data_unescaped(const xmlnode *node) { char *escaped = xmlnode_get_data(node);
--- a/libpurple/xmlnode.h Fri Jun 19 00:00:25 2009 +0000 +++ b/libpurple/xmlnode.h Fri Jun 19 00:01:39 2009 +0000 @@ -136,7 +136,7 @@ * @return The data from the node or NULL. This data is in raw escaped format. * You must g_free this string when finished using it. */ -char *xmlnode_get_data(xmlnode *node); +char *xmlnode_get_data(const xmlnode *node); /** * Gets unescaped data from a node. @@ -146,7 +146,7 @@ * @return The data from the node, in unescaped form. You must g_free * this string when finished using it. */ -char *xmlnode_get_data_unescaped(xmlnode *node); +char *xmlnode_get_data_unescaped(const xmlnode *node); /** * Sets an attribute for a node.