# HG changeset patch # User Mark Doliner # Date 1245369699 0 # Node ID 350f097019eb149b7568637c405eabd8c23ea55c # Parent 9ff4b4cbc4c97d2c07d642cf90799606894730f7 These parameters aren't modified diff -r 9ff4b4cbc4c9 -r 350f097019eb libpurple/xmlnode.c --- 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); diff -r 9ff4b4cbc4c9 -r 350f097019eb libpurple/xmlnode.h --- 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.