From 4118e135969acaaedd711859dceb1fee61a159e1 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 18 Apr 2012 12:12:32 -0400 Subject: [PATCH] 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. --- gtk/gtkcontainer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 856df7d2e..be6860278 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -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: -- 2.43.2