summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index 3ea480f66..6cc5d7114 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -382,14 +382,14 @@ void SPObject::changeCSS(SPCSSAttr *css, gchar const *attr)
sp_repr_css_change(this->getRepr(), css, attr);
}
-SelContainer SPObject::childList(bool add_ref, Action) {
- SelContainer l;
+std::vector<SPObject*> SPObject::childList(bool add_ref, Action) {
+ std::vector<SPObject*> l;
for ( SPObject *child = firstChild() ; child; child = child->getNext() ) {
if (add_ref) {
sp_object_ref (child);
}
- l.push_front(child);
+ l.push_back(child);
}
return l;