summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-07-21 05:42:47 +0000
committermental <mental@users.sourceforge.net>2006-07-21 05:42:47 +0000
commit9dd3e11fa4339c5216ad816fd4cf83638acb4945 (patch)
tree5ed46c66c0dabc9e08ef47657b3c8a403c6ce24b /src/document.cpp
parentreplace two uses of hash_map with standard STL map (diff)
downloadinkscape-9dd3e11fa4339c5216ad816fd4cf83638acb4945.tar.gz
inkscape-9dd3e11fa4339c5216ad816fd4cf83638acb4945.zip
sp_object_invoke_release -> SPObject::releaseReferences, plus the introduction of sigc++ signals for "release" and "modified" which will eventually replace their GObject signal counterparts
(bzr r1447)
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 44e13b4f2..3077198cf 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -131,7 +131,7 @@ SPDocument::~SPDocument() {
sp_document_clear_undo(this);
if (root) {
- sp_object_invoke_release(root);
+ root->releaseReferences();
sp_object_unref(root);
root = NULL;
}