Fixed do_size_request() to start with a 0 base requisition instead of -1

This commit is contained in:
Tristan Van Berkom 2010-04-05 17:57:06 -04:00
parent 4b1315cedc
commit eb537a6773

View File

@ -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);