libgimpwidgets: invalidate the rulers' backdrop when the widget style is changed

... in particular, when swithcing themes.

Otherwise, the rulers keep their old, mismatched, style, until the
ticks are updated.
This commit is contained in:
Ell 2017-02-27 05:03:59 -05:00
parent a57c7fb129
commit 2cb26a040a

View file

@ -921,6 +921,8 @@ gimp_ruler_style_set (GtkWidget *widget,
"font-scale", &priv->font_scale,
NULL);
priv->backing_store_valid = FALSE;
if (priv->layout)
{
g_object_unref (priv->layout);