stylecontext: Use right invalidation func

gtk_style_context_invalidate_internal() will respect only the current
saved state of the style context, which is wrong when updating the scale.
In that case, the whole style context needs updating.
This commit is contained in:
Benjamin Otte
2014-08-19 16:31:06 +02:00
parent f39d211021
commit 665ad8c6f9

View File

@ -1323,7 +1323,7 @@ gtk_style_context_set_scale (GtkStyleContext *context,
context->priv->scale = scale;
gtk_style_context_queue_invalidate_internal (context, GTK_CSS_CHANGE_SOURCE);
_gtk_style_context_queue_invalidate (context, GTK_CSS_CHANGE_SOURCE);
}
/**