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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user