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:
parent
a57c7fb129
commit
2cb26a040a
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue