• Alexander Larsson's avatar
    Use GtkCssValue in symbolic color resolving · 616cc5b9
    Alexander Larsson authored
    We now store the symbolic colors as a GtkCssValue which means that
    we can reuse the color when resolving and storing the color in
    the computed values in the style context.
    Additionally we keep a last_resolved GtkCssValue cache in the
    GtkSymbolicColor, and if resolving the color returns the same as
    last time we reuse the old value. This further increases sharing
    of Css Values.
gtkstylecontextprivate.h 2.83 KB