From a2bfa25d7148ec7d6745ef080ec8a963a9f3392d Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 4 Jan 2010 09:13:57 +0000 Subject: Core XML: make first argument of lasso_misc_text_node_new_with_string const * lasso/xml/misc_text_node.h lasso/xml/misc_text_node.c: change signature of lasso_misc_text_node_new_with_string, string argument is const. --- lasso/xml/misc_text_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lasso/xml/misc_text_node.h') diff --git a/lasso/xml/misc_text_node.h b/lasso/xml/misc_text_node.h index 23f7d211..cafedb43 100644 --- a/lasso/xml/misc_text_node.h +++ b/lasso/xml/misc_text_node.h @@ -77,7 +77,7 @@ LASSO_EXPORT GType lasso_misc_text_node_get_type(void); LASSO_EXPORT LassoNode* lasso_misc_text_node_new(void); -LASSO_EXPORT LassoMiscTextNode* lasso_misc_text_node_new_with_string(char *content); +LASSO_EXPORT LassoMiscTextNode* lasso_misc_text_node_new_with_string(const char *content); LASSO_EXPORT LassoMiscTextNode* lasso_misc_text_node_new_with_xml_node(xmlNode *xml_node); -- cgit