css: Simplify the superset matcher
authorMatthias Clasen <mclasen@redhat.com>
Thu, 16 Jan 2020 22:50:32 +0000 (17:50 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Jan 2020 00:11:08 +0000 (19:11 -0500)
commitf0c1c3349f4ce90b2a23331003936fe4b33e320b
tree87999394741c17629d1754e382504a92a4e6212c
parent0dba6e5759839a8478fb9fbac707394cd35ed8f0
css: Simplify the superset matcher

We use the superset matcher in exactly one place,
so there is no need for the generality of allowing
to ignore different aspects. Just hardcode the one
case we need: ignoring everything except for name,
id and class.
gtk/gtkcssmatcher.c
gtk/gtkcssmatcherprivate.h
gtk/gtkcssprovider.c