mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 23:00:08 +00:00
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:
parent
724a985465
commit
4118e13596
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user