summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-surface.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-11-21 21:39:29 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-11-21 21:39:29 +0000
commit3a4c187f4dc5a047484b018df56944b1517ccd99 (patch)
treec3c5de6a479e2c5802fd4a41c142ef2949c9ad76 /src/display/drawing-surface.cpp
parentFix printing multiple copies of a document (diff)
downloadinkscape-3a4c187f4dc5a047484b018df56944b1517ccd99.tar.gz
inkscape-3a4c187f4dc5a047484b018df56944b1517ccd99.zip
Two fixes (should work on Linux now)
- do not call cairo_show_page as the GtkPrintOperation seems to do that internally (calling it manually will emit the current page, clear it, and the cleared page seems to be emitted in error later) - we can (and should) still call cairo_surface_destroy as it's doing reference counting internally (we increase the reference count in CairoRenderContext::setSurfaceTarget) and won't actually destroy anything until the count reaches zero
Diffstat (limited to 'src/display/drawing-surface.cpp')
0 files changed, 0 insertions, 0 deletions