diff options
author | Benjamin Otte <otte@redhat.com> | 2012-03-23 03:01:16 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:10 +0200 |
commit | 585a1fae4f347d979c55f2848cd3afba7dc32c2e (patch) | |
tree | a548bc8f389b67721f490691f8cdd13221d310a8 /gtk/gtkstylecontextprivate.h | |
parent | eb537b60f4d263667e0a9542998e7e7ae0751ccc (diff) | |
download | gtk+-585a1fae4f347d979c55f2848cd3afba7dc32c2e.tar.gz |
stylecontext: Really queue style changes
Instead of instantly applying a new style, just mark the context as
invalid. Only apply the new style at layout time.
Diffstat (limited to 'gtk/gtkstylecontextprivate.h')
-rw-r--r-- | gtk/gtkstylecontextprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkstylecontextprivate.h b/gtk/gtkstylecontextprivate.h index 41789cdd0c..759929ec62 100644 --- a/gtk/gtkstylecontextprivate.h +++ b/gtk/gtkstylecontextprivate.h @@ -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_validate (GtkStyleContext *context, + GtkCssChange change); void _gtk_style_context_queue_invalidate (GtkStyleContext *context, GtkCssChange change); void _gtk_style_context_invalidate_animation_areas (GtkStyleContext *context); |