When output items were shown in the output window, the first item
was not shown until the user moused over it and thereby triggered the
on_style_updated callback. This fixes the problem.
GdkRectangle *allocation,
struct psppire_output_view *view)
{
- int new_render_width = MAX (300, allocation->width);
-
- if (view->render_width != new_render_width)
- {
- view->render_width = new_render_width;
- rerender (view);
- }
+ view->render_width = MAX (300, allocation->width);
+ rerender (view);
}
static void