[glom] libxml++-3.0 port: Use get_first_child_text() instead of get_child_text().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] libxml++-3.0 port: Use get_first_child_text() instead of get_child_text().
- Date: Wed, 28 Oct 2015 10:10:14 +0000 (UTC)
commit aa4839c34a010deb5f1804d69ab7a90a1ad671f9
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Oct 24 20:16:22 2015 +0200
libxml++-3.0 port: Use get_first_child_text() instead of get_child_text().
glom/libglom/document/document.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glom/libglom/document/document.cc b/glom/libglom/document/document.cc
index 9503740..97a2c8d 100644
--- a/glom/libglom/document/document.cc
+++ b/glom/libglom/document/document.cc
@@ -3053,7 +3053,7 @@ bool Document::load_after(int& failure_code)
//The string is in a child text node:
Glib::ustring script;
- const auto text_child = node_lib_module->get_child_text();
+ const auto text_child = node_lib_module->get_first_child_text();
if(text_child)
script = text_child->get_content();
@@ -3921,7 +3921,7 @@ bool Document::save_before()
XmlUtils::set_node_attribute_value(nodeModule, GLOM_ATTRIBUTE_LIBRARY_MODULE_NAME, name);
//The script is in a child text node:
- auto text_child = nodeModule->get_child_text();
+ auto text_child = nodeModule->get_first_child_text();
if(!text_child)
nodeModule->add_child_text( Utils::string_clean_for_xml(script) );
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]