summaryrefslogtreecommitdiffstats
path: root/src/object/sp-tref.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-tref.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-tref.cpp')
-rw-r--r--src/object/sp-tref.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/object/sp-tref.cpp b/src/object/sp-tref.cpp
index dd44c5855..eae852a89 100644
--- a/src/object/sp-tref.cpp
+++ b/src/object/sp-tref.cpp
@@ -482,7 +482,6 @@ sp_tref_convert_to_tspan(SPObject *obj)
new_tspan->updateRepr();
// Hold onto our SPObject and repr for now.
- sp_object_ref(tref, NULL);
Inkscape::GC::anchor(tref_repr);
// Remove ourselves, not propagating delete events to avoid a
@@ -495,7 +494,6 @@ sp_tref_convert_to_tspan(SPObject *obj)
// Establish the succession and let go of our object.
tref->setSuccessor(new_tspan);
- sp_object_unref(tref, NULL);
}
}
////////////////////