mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
Fixed do_size_request() to start with a 0 base requisition instead of -1
This commit is contained in:
parent
4b1315cedc
commit
eb537a6773
@ -676,6 +676,8 @@ do_size_request (GtkWidget *widget)
|
||||
|
||||
/* Now get the extended layout minimum and natural size
|
||||
*/
|
||||
extended_minimum.width = 0;
|
||||
extended_minimum.height = 0;
|
||||
gtk_extended_layout_get_desired_size (GTK_EXTENDED_LAYOUT (widget),
|
||||
&extended_minimum,
|
||||
&aux_info->natural_size);
|
||||
|
Loading…
Reference in New Issue
Block a user