container: fix wrong branching logic

If the resize mode of the container was GTK_RESIZE_IMMEDIATE we would
also fall trough to the next case in the switch, and always throw an
assertion.
This commit is contained in:
Cosimo Cecchi 2012-04-18 12:12:32 -04:00
parent 724a985465
commit 4118e13596

View File

@ -1721,6 +1721,7 @@ gtk_container_queue_resize_handler (GtkContainer *container)
case GTK_RESIZE_IMMEDIATE:
gtk_container_check_resize (container);
break;
case GTK_RESIZE_PARENT:
default: