X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkscrollable.c;h=3c7c76fcc65bba057c27b8a51d6ca198927755c8;hb=f076b6bb0284b59de67d5be8d53a14b5bb32e119;hp=0ff0d9612c5d46eb31b2d36de6c5fb828fd0b6b8;hpb=920e8b434367f9aa8aab306721cc024e66892e2e;p=~andy%2Fgtk diff --git a/gtk/gtkscrollable.c b/gtk/gtkscrollable.c index 0ff0d9612..3c7c76fcc 100644 --- a/gtk/gtkscrollable.c +++ b/gtk/gtkscrollable.c @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /** @@ -45,6 +43,14 @@ * * * + * Because its preferred size is the size for a fully expanded widget, + * the scrollable widget must be able to cope with underallocations. + * This means that it must accept any value passed to its + * #GtkWidgetClass.size_allocate() function. + * + * + * + * * When the parent allocates space to the scrollable child widget, the widget should update * the adjustments' properties with new values. * @@ -63,6 +69,8 @@ #include "config.h" #include "gtkscrollable.h" + +#include "gtkadjustment.h" #include "gtkprivate.h" #include "gtktypebuiltins.h" #include "gtkintl.h"