Commit 39ff874a authored by Benjamin Otte's avatar Benjamin Otte

stylecontext: Introduce _gtk_style_context_queue_invalidate()

This is for only queueing invalidations instead of doing a full
invalidation cycle.
parent 1a51ea3e
......@@ -3208,6 +3208,16 @@ store_animation_region (GtkStyleContext *context,
_gtk_style_context_queue_invalidate (GtkStyleContext *context,
GtkCssChange change)
g_return_if_fail (GTK_IS_STYLE_CONTEXT (context));
g_return_if_fail (change != 0);
gtk_style_context_invalidate (context);
* gtk_style_context_invalidate:
* @context: a #GtkStyleContext.
......@@ -35,6 +35,8 @@ const GValue * _gtk_style_context_peek_style_property (GtkStyleContext *c
GType widget_type,
GtkStateFlags state,
GParamSpec *pspec);
void _gtk_style_context_queue_invalidate (GtkStyleContext *context,
GtkCssChange change);
void _gtk_style_context_invalidate_animation_areas (GtkStyleContext *context);
void _gtk_style_context_coalesce_animation_areas (GtkStyleContext *context,
GtkWidget *widget);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment