summaryrefslogtreecommitdiff
path: root/gtk/gtkcssinitialvalueprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* cssvalue: Add _gtk_css_initial_value_get()Benjamin Otte2012-11-251-0/+1
| | | | | | | | ... so we don't bump a refcount whenever we get the initial singleton. We want to use this function instead of _gtk_css_style_property_get_initial_value() everywhere where we compute values, because some initial values may depend on settings soon.
* css: Move computing of initial and inherit valuesBenjamin Otte2012-08-281-2/+0
| | | | | ... to the compute vfunc. Simplifies code quite a bit. But makes the code no longer a simple step-by-step implementation of the spec.
* styleproperty: Make _gtk_style_property_parse_value() return a CssValueBenjamin Otte2012-04-171-0/+33
Also split out initial/inherit handling into a custom GtkCssValue class.