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
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);