diff options
author | Benjamin Otte <otte@redhat.com> | 2015-04-27 19:15:43 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-04-27 19:17:03 +0200 |
commit | 3e5280ae4dfd1950dbd56a781dcdcf34a26d4294 (patch) | |
tree | e3d28e8f0e957410020b68621ebe36eb23522281 /gtk/gtkstylecontextprivate.h | |
parent | 136a32112fc7df1eff461b3687d3626dbbbc6d33 (diff) | |
download | gtk+-3e5280ae4dfd1950dbd56a781dcdcf34a26d4294.tar.gz |
stylecontext: Clear style property more frequently
We want to clear the style property cache whenever things change in the
tree, not as we previously did only when those changes actually lead to
a different CSS style.
Diffstat (limited to 'gtk/gtkstylecontextprivate.h')
-rw-r--r-- | gtk/gtkstylecontextprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkstylecontextprivate.h b/gtk/gtkstylecontextprivate.h index 331eb60f69..40fd4f171f 100644 --- a/gtk/gtkstylecontextprivate.h +++ b/gtk/gtkstylecontextprivate.h @@ -47,6 +47,7 @@ const GValue * _gtk_style_context_peek_style_property (GtkStyleContext *c GParamSpec *pspec); void gtk_style_context_validate (GtkStyleContext *context, const GtkBitmask*changes); +void gtk_style_context_clear_property_cache (GtkStyleContext *context); gboolean _gtk_style_context_check_region_name (const gchar *str); gboolean _gtk_style_context_resolve_color (GtkStyleContext *context, |