summaryrefslogtreecommitdiffstats
path: root/src/object/sp-use.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-03-08 23:50:57 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-03-26 17:48:34 +0000
commit6e5d89bf9595648fcebcf76fd031ba1ea022d397 (patch)
treea7eb90d21021e843a63c286427a533a4402877d7 /src/object/sp-use.cpp
parentFix maren problem in https://gitlab.com/inkscape/inkscape/merge_requests/212#... (diff)
downloadinkscape-6e5d89bf9595648fcebcf76fd031ba1ea022d397.tar.gz
inkscape-6e5d89bf9595648fcebcf76fd031ba1ea022d397.zip
Fixing refs
Diffstat (limited to 'src/object/sp-use.cpp')
-rw-r--r--src/object/sp-use.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/object/sp-use.cpp b/src/object/sp-use.cpp
index 2837e56f1..af61e392b 100644
--- a/src/object/sp-use.cpp
+++ b/src/object/sp-use.cpp
@@ -695,7 +695,6 @@ SPItem *SPUse::unlink() {
unlinked->updateRepr();
// Hold onto our SPObject and repr for now.
- sp_object_ref(this, NULL);
Inkscape::GC::anchor(repr);
// Remove ourselves, not propagating delete events to avoid a
@@ -715,7 +714,6 @@ SPItem *SPUse::unlink() {
// Establish the succession and let go of our object.
this->setSuccessor(unlinked);
- sp_object_unref(this, NULL);
SPItem *item = dynamic_cast<SPItem *>(unlinked);
g_assert(item != NULL);