summaryrefslogtreecommitdiffstats
path: root/src/text-chemistry.cpp
diff options
context:
space:
mode:
authorAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-07-14 11:17:21 +0000
committerAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-07-14 11:17:21 +0000
commit24d3f50003ca3cec6a03a7f5267cc4fe5588c69f (patch)
tree31b18bad74998d7b7042e737d28c08b063a8d383 /src/text-chemistry.cpp
parentLast part of new SPObject children list (diff)
downloadinkscape-24d3f50003ca3cec6a03a7f5267cc4fe5588c69f.tar.gz
inkscape-24d3f50003ca3cec6a03a7f5267cc4fe5588c69f.zip
Renamed children list in SPObject
(bzr r14954.1.21)
Diffstat (limited to 'src/text-chemistry.cpp')
-rw-r--r--src/text-chemistry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp
index 56048d1f7..a950dfebe 100644
--- a/src/text-chemistry.cpp
+++ b/src/text-chemistry.cpp
@@ -142,7 +142,7 @@ text_put_on_path()
// make a list of text children
GSList *text_reprs = NULL;
- for(auto& o: text->_children) {
+ for(auto& o: text->children) {
text_reprs = g_slist_prepend(text_reprs, o.getRepr());
}
@@ -240,7 +240,7 @@ text_remove_all_kerns_recursively(SPObject *o)
g_strfreev(xa_comma);
}
- for (auto& i: o->_children) {
+ for (auto& i: o->children) {
text_remove_all_kerns_recursively(&i);
i.requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_TEXT_LAYOUT_MODIFIED_FLAG);
}
@@ -353,7 +353,7 @@ text_flow_into_shape()
Inkscape::GC::release(text_repr);
} else { // reflow an already flowed text, preserving paras
- for(auto& o: text->_children) {
+ for(auto& o: text->children) {
if (SP_IS_FLOWPARA(&o)) {
Inkscape::XML::Node *para_repr = o.getRepr()->duplicate(xml_doc);
root_repr->appendChild(para_repr);