Readd gtk_widget_set_size_request() to prevent
-1,-1 from being allocated. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ecf3b4a57f
commit
d218e518d8
@ -286,6 +286,7 @@ gtk_pizza_put (GtkPizza *pizza,
|
||||
|
||||
gtk_widget_set_parent (widget, GTK_WIDGET (pizza));
|
||||
|
||||
gtk_widget_set_size_request( widget, width, height );
|
||||
if (GTK_WIDGET_REALIZED (pizza))
|
||||
gtk_pizza_allocate_child (pizza, child_info);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user