forked from AuroraMiddleware/gtk
Fixed missing return from get_desired_width/height in GtkViewport (causing testgtk to have a small width).
This commit is contained in:
parent
c927f5e60d
commit
b7a05d1832
@ -881,6 +881,12 @@ gtk_viewport_get_desired_size (GtkExtendedLayout *layout,
|
|||||||
minimum += child_min;
|
minimum += child_min;
|
||||||
natural += child_nat;
|
natural += child_nat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (minimum_size)
|
||||||
|
*minimum_size = minimum;
|
||||||
|
|
||||||
|
if (natural_size)
|
||||||
|
*natural_size = natural;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user