summaryrefslogtreecommitdiffstats
path: root/src/trace/trace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace/trace.cpp')
-rw-r--r--src/trace/trace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace/trace.cpp b/src/trace/trace.cpp
index 8f04d7a2d..48e3edaa0 100644
--- a/src/trace/trace.cpp
+++ b/src/trace/trace.cpp
@@ -439,7 +439,7 @@ void Tracer::traceThread()
//### Get pointers to the <image> and its parent
//XML Tree being used directly here while it shouldn't be.
Inkscape::XML::Node *imgRepr = SP_OBJECT(img)->getRepr();
- Inkscape::XML::Node *par = sp_repr_parent(imgRepr);
+ Inkscape::XML::Node *par = imgRepr->parent();
//### Get some information for the new transform()
double x = 0.0;