output window: added allocation setting for drawing areas. fixes bug #45229.
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Wed, 10 Jun 2015 18:27:55 +0000 (20:27 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Wed, 10 Jun 2015 18:27:55 +0000 (20:27 +0200)
commit5bd5007b498d18182af272222a0021af178fc531
tree55f6d514ac93c2c7fe83c91079add1eff14b38c6
parent6b6ed1de7e41fe0683ec458bf8f455a159a2a653
output window: added allocation setting for drawing areas. fixes bug #45229.

I added allocation setting to the drawing areas in the output window. The
problem occured in osx gtk3 branch and is described in bug #45229. The
content of the output window was not rendered correctly in the initial
window but only after a resize. Setting the size request for the drawing
areas is not enough because the current allocation is not immediatly changed.
The clipping is based on the current allocation, while the drawing is based
on the results from the rerender function. This problem is related to
the problem described in bug #43362.
src/ui/gui/psppire-output-view.c