Fixed missing return from get_desired_width/height in GtkViewport (causing testgtk to have a small width).

This commit is contained in:
Tristan Van Berkom 2010-04-20 01:27:32 -04:00
parent c927f5e60d
commit b7a05d1832

View File

@ -881,6 +881,12 @@ gtk_viewport_get_desired_size (GtkExtendedLayout *layout,
minimum += child_min;
natural += child_nat;
}
if (minimum_size)
*minimum_size = minimum;
if (natural_size)
*natural_size = natural;
}
static void