diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-04-04 13:58:05 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2011-04-04 13:58:05 +0900 |
commit | d4021d7a1b88d8c649029285ee8f0968d8992243 (patch) | |
tree | 45f197e156b0821349d6fdcfc80207c7f3cf5007 /gtk/gtksizerequest.c | |
parent | f6499818b501afb0ee0fd48a74248947abc7d32d (diff) | |
download | gtk+-d4021d7a1b88d8c649029285ee8f0968d8992243.tar.gz |
Fixed bug in GtkSizeRequest code where the cache is not reset properly
Fixes this bug https://bugzilla.gnome.org/show_bug.cgi?id=646500
Diffstat (limited to 'gtk/gtksizerequest.c')
-rw-r--r-- | gtk/gtksizerequest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c index 4b379cc780..ef3983cdbf 100644 --- a/gtk/gtksizerequest.c +++ b/gtk/gtksizerequest.c @@ -143,7 +143,8 @@ init_cache (GtkWidget *widget) if (_gtk_widget_get_width_request_needed (widget)) clear_cache (cache, GTK_SIZE_GROUP_HORIZONTAL); - else if (_gtk_widget_get_height_request_needed (widget)) + + if (_gtk_widget_get_height_request_needed (widget)) clear_cache (cache, GTK_SIZE_GROUP_VERTICAL); return cache; |