css: Allow bypassing the compute_value() stage

This is useful when overriding values.
This commit is contained in:
Benjamin Otte
2012-01-14 17:04:00 +01:00
parent e4c2d9b259
commit 6ba33e7af5
4 changed files with 86 additions and 6 deletions

View File

@ -41,6 +41,10 @@ void _gtk_css_lookup_set (GtkCssLookup
guint id,
GtkCssSection *section,
const GValue *value);
void _gtk_css_lookup_set_computed (GtkCssLookup *lookup,
guint id,
GtkCssSection *section,
const GValue *value);
void _gtk_css_lookup_resolve (GtkCssLookup *lookup,
GtkStyleContext *context,
GtkCssComputedValues *values);