forked from AuroraMiddleware/gtk
Fixed bug in GtkSizeRequest code where the cache is not reset properly
Fixes this bug https://bugzilla.gnome.org/show_bug.cgi?id=646500
This commit is contained in:
parent
f6499818b5
commit
d4021d7a1b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user