[gtk+] container: fix wrong branching logic
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] container: fix wrong branching logic
- Date: Wed, 18 Apr 2012 16:15:28 +0000 (UTC)
commit 4118e135969acaaedd711859dceb1fee61a159e1
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Apr 18 12:12:32 2012 -0400
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 856df7d..be68602 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]