summaryrefslogtreecommitdiffstats
path: root/src/object/sp-root.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-root.cpp')
-rw-r--r--src/object/sp-root.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/sp-root.cpp b/src/object/sp-root.cpp
index 592aae443..6ebccef3c 100644
--- a/src/object/sp-root.cpp
+++ b/src/object/sp-root.cpp
@@ -369,11 +369,11 @@ Inkscape::DrawingItem *SPRoot::show(Inkscape::Drawing &drawing, unsigned int key
void SPRoot::print(SPPrintContext *ctx)
{
- sp_print_bind(ctx, this->c2p, 1.0);
+ ctx->bind(this->c2p, 1.0);
SPGroup::print(ctx);
- sp_print_release(ctx);
+ ctx->release();
}
const char *SPRoot::displayName() const {