summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecascade.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-01-23 02:42:01 +0100
committerBenjamin Otte <otte@redhat.com>2020-01-28 02:17:02 +0100
commitaa7c5e96a6f863888fd09c1ca07d7c4123b9cd6c (patch)
tree1dd08923cc3c0c714ac0848d9b302161d3832720 /gtk/gtkstylecascade.c
parent1953bc92bc21af40e45aa02eb9ce11abdc3d2a4e (diff)
downloadgtk+-aa7c5e96a6f863888fd09c1ca07d7c4123b9cd6c.tar.gz
css: Pass node through the lookup code
... instead of passing a matcher. The matcher code is now local to the CssProvider/CssSelector machinery.
Diffstat (limited to 'gtk/gtkstylecascade.c')
-rw-r--r--gtk/gtkstylecascade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstylecascade.c b/gtk/gtkstylecascade.c
index ea0f128481..1bc60e12be 100644
--- a/gtk/gtkstylecascade.c
+++ b/gtk/gtkstylecascade.c
@@ -180,7 +180,7 @@ gtk_style_cascade_get_keyframes (GtkStyleProvider *provider,
static void
gtk_style_cascade_lookup (GtkStyleProvider *provider,
- const GtkCssMatcher *matcher,
+ GtkCssNode *node,
GtkCssLookup *lookup,
GtkCssChange *change)
{
@@ -193,7 +193,7 @@ gtk_style_cascade_lookup (GtkStyleProvider *provider,
item;
item = gtk_style_cascade_iter_next (cascade, &iter))
{
- gtk_style_provider_lookup (item, matcher, lookup,
+ gtk_style_provider_lookup (item, node, lookup,
change ? &iter_change : NULL);
if (change)
*change |= iter_change;