pidgin: 89a4f316: These parameters aren't modified
markdoliner at pidgin.im
markdoliner at pidgin.im
Thu Jun 18 20:05:22 EDT 2009
-----------------------------------------------------------------
Revision: 89a4f316ede32e2eec84d699c536292a6e5335eb
Ancestor: 31b25c1d5c80c7a546265ca1292023606d4886ee
Author: markdoliner at pidgin.im
Date: 2009-06-19T00:01:39
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/89a4f316ede32e2eec84d699c536292a6e5335eb
Modified files:
libpurple/xmlnode.c libpurple/xmlnode.h
ChangeLog:
These parameters aren't modified
-------------- next part --------------
============================================================
--- libpurple/xmlnode.c ff037d9a540b18e1b48a43022e3cc6deb4055685
+++ libpurple/xmlnode.c 011cb66e1f2478b329af74e53f864ed7fdf32369
@@ -382,7 +382,7 @@ char *
}
char *
-xmlnode_get_data(xmlnode *node)
+xmlnode_get_data(const xmlnode *node)
{
GString *str = NULL;
xmlnode *c;
@@ -405,7 +405,7 @@ char *
}
char *
-xmlnode_get_data_unescaped(xmlnode *node)
+xmlnode_get_data_unescaped(const xmlnode *node)
{
char *escaped = xmlnode_get_data(node);
============================================================
--- libpurple/xmlnode.h 8ebaa41c487a2401bbc5da9bbd3acf4c705c9869
+++ libpurple/xmlnode.h d06e8c0895a25626103db5e53c16d99eaea41412
@@ -136,7 +136,7 @@ void xmlnode_insert_data(xmlnode *node,
* @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 @@ char *xmlnode_get_data(xmlnode *node);
* @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.
More information about the Commits
mailing list