summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-03-08 01:31:49 +0000
committerJon A. Cruz <jon@joncruz.org>2010-03-08 01:31:49 +0000
commite0a60a7ea64f3576bac00b84c440769c7221e1c3 (patch)
treec47840592712bb1b5fd80c5892912dc403cc30a5 /src/sp-object.cpp
parentMove new "NodesShow*" action to be with the existing ones on the toolbar. (diff)
downloadinkscape-e0a60a7ea64f3576bac00b84c440769c7221e1c3.tar.gz
inkscape-e0a60a7ea64f3576bac00b84c440769c7221e1c3.zip
Cleanup of gradients and stops.
(bzr r9163)
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index f77f228cb..5e0f72758 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -946,6 +946,17 @@ void SPObject::releaseReferences() {
this->repr = NULL;
}
+
+SPObject *SPObject::getNext()
+{
+ return next;
+}
+
+SPObject *SPObject::getPrev()
+{
+ return sp_object_prev(this);
+}
+
/**
* Callback for child_added node event.
*/