range: Add a queue_resize call

This is a workaround for a regression in updating scrollbars in
some applications; notably eog. We haven't fully tracked down yet
why a queue_allocation is not sufficient here, it should.

https://bugzilla.gnome.org/show_bug.cgi?id=765410
This commit is contained in:
Matthias Clasen 2016-06-06 12:31:41 -04:00 committed by Timm Bäder
parent 43de771574
commit 09b2c54d41

View File

@ -3648,7 +3648,7 @@ gtk_range_calc_slider (GtkRange *range)
gtk_css_gadget_set_visible (priv->slider_gadget, visible);
gtk_css_gadget_queue_allocate (priv->slider_gadget);
gtk_css_gadget_queue_resize (priv->slider_gadget);
if (priv->has_origin)
gtk_css_gadget_queue_allocate (priv->trough_gadget);