This patch modifies the gtk_viewport_size_request() function in
gtkviewport.c.  

Currently, objects of the GtkViewport class request an extra 5 pixels in
each direction.  This is in addition to the space required for the child
widget and the borders.  I believe this is done so that there will be some
space inside the viewport even if there is no child widget or the child
widget requests little or no space.  However, when there is a child widget,
the extra space can be quite unsightly, especially since it goes away when
the viewport's screen allocation is smaller than the child widget's
requisition. 

With the patch, objects of the GtkViewport class will normally request
exactly the amount of space required for the borders and the child widget.
The amount of space requested for the inside of the viewport will be bumped
up to 5 x 5 pixels if and only if there is no child widget or it requests
fewer than 5 pixels.

Janet Davis
Janet_Davis@hmc.edu
June 17, 1999