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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lasso/xml/misc_text_node.c') diff --git a/lasso/xml/misc_text_node.c b/lasso/xml/misc_text_node.c index 7de29832..2af6b555 100644 --- a/lasso/xml/misc_text_node.c +++ b/lasso/xml/misc_text_node.c @@ -226,7 +226,7 @@ lasso_misc_text_node_new() * Return value: a newly created #LassoMiscTextNode object **/ LassoMiscTextNode* -lasso_misc_text_node_new_with_string(char *content) +lasso_misc_text_node_new_with_string(const char *content) { LassoMiscTextNode *object; object = g_object_new(LASSO_TYPE_MISC_TEXT_NODE, NULL); -- cgit