psppire-output-view: Only render output items once the window is realized.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 9 Oct 2014 05:39:18 +0000 (22:39 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 9 Oct 2014 05:39:18 +0000 (22:39 -0700)
commit18f9e37c8bc5f8ea21c9f3b3b6b3d0dee0b572cb
tree7c18035b7d744bb20a7f03635684f5edd6133221
parentc1c12933cd3d0014bd678f9c000632794ca8ffd7
psppire-output-view: Only render output items once the window is realized.

Otherwise, in environments where the output view is not rendered
immediately upon the call to gtk_widget_show_all() from
psppire_output_submit(), psppire_output_view_put() called later in that
function would dereference a null pointer trying to create a rendering
from a null GTK_WIDGET (view->output)->window.

Bug #43362.
src/ui/gui/psppire-output-view.c
src/ui/gui/psppire-output-window.c