diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-11-21 21:39:29 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-11-21 21:39:29 +0000 |
| commit | 3a4c187f4dc5a047484b018df56944b1517ccd99 (patch) | |
| tree | c3c5de6a479e2c5802fd4a41c142ef2949c9ad76 /src/ui/dialog/export.cpp | |
| parent | Fix printing multiple copies of a document (diff) | |
| download | inkscape-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/ui/dialog/export.cpp')
0 files changed, 0 insertions, 0 deletions
