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.
This commit is contained in:
Matthias Clasen 2020-09-30 15:39:30 -04:00
parent 21c8bc2b47
commit b0da095944

View File

@ -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: