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:
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user