psppire-output-view: Fix segfault during printing.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 4 Jan 2015 19:13:01 +0000 (11:13 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 4 Jan 2015 19:14:50 +0000 (11:14 -0800)
commit9fd97e410494b051da21490040e4a5b5de2d5a2a
tree7d41415475db1d77dc0d831b5ba9806e74d2c931
parentcc87b4045df9aab8a7c42426ba755a5801309e72
psppire-output-view: Fix segfault during printing.

psppire-output-view tried to make use of a special feature in the
cairo output driver that allowed the cairo_t to be omitted to avoid
actually rendering anything, for pagination purposes, but the cairo
code had changed and this feature had not been carefully maintained,
resulting in a segfault.  This commit stops trying to use that
feature, since it seems like it could easily get broken again in the
future and doesn't have much benefit anyhow.

Bug #43816.
Reported by John Darrington.
src/ui/gui/psppire-output-view.c