summaryrefslogtreecommitdiff
path: root/gsk/broadway
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-30 15:39:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-30 15:39:30 -0400
commitb0da095944f5dcc35a031c3d51bbff60378e7961 (patch)
tree224684eaed8326191351df2ef2edbb320c85344f /gsk/broadway
parent21c8bc2b47ce2091534d1e565a8a1fe96f3f4326 (diff)
downloadgtk+-b0da095944f5dcc35a031c3d51bbff60378e7961.tar.gz
gsk: Fix compiler warnings
We forgot to teach the broadway renderer about new enum values, and our ci didn't catch it because werror didn't actually work there until now.
Diffstat (limited to 'gsk/broadway')
-rw-r--r--gsk/broadway/gskbroadwayrenderer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsk/broadway/gskbroadwayrenderer.c b/gsk/broadway/gskbroadwayrenderer.c
index bb6de84846..e2b43146fe 100644
--- a/gsk/broadway/gskbroadwayrenderer.c
+++ b/gsk/broadway/gskbroadwayrenderer.c
@@ -261,7 +261,9 @@ collect_reused_child_nodes (GskRenderer *renderer,
case GSK_GL_SHADER_NODE:
case GSK_COLOR_MATRIX_NODE:
case GSK_TEXT_NODE:
+ case GSK_RADIAL_GRADIENT_NODE:
case GSK_REPEATING_LINEAR_GRADIENT_NODE:
+ case GSK_REPEATING_RADIAL_GRADIENT_NODE:
case GSK_REPEAT_NODE:
case GSK_BLEND_NODE:
case GSK_CROSS_FADE_NODE:
@@ -843,7 +845,9 @@ gsk_broadway_renderer_add_node (GskRenderer *renderer,
break; /* Fallback */
case GSK_TEXT_NODE:
+ case GSK_RADIAL_GRADIENT_NODE:
case GSK_REPEATING_LINEAR_GRADIENT_NODE:
+ case GSK_REPEATING_RADIAL_GRADIENT_NODE:
case GSK_REPEAT_NODE:
case GSK_BLEND_NODE:
case GSK_CROSS_FADE_NODE: