Commit d4021d7a authored by Tristan Van Berkom's avatar Tristan Van Berkom

Fixed bug in GtkSizeRequest code where the cache is not reset properly

Fixes this bug https://bugzilla.gnome.org/show_bug.cgi?id=646500
parent f6499818
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment