testsuite: Replay border nodes properly

Use the new apis for this.
This commit is contained in:
Matthias Clasen
2024-08-05 11:51:54 -04:00
parent e220e6dae7
commit 89d449352f

View File

@@ -101,9 +101,9 @@ replay_border_node (GskRenderNode *node, GtkSnapshot *snapshot)
{
const GskRoundedRect *outline = gsk_border_node_get_outline (node);
const float *border_width = gsk_border_node_get_widths (node);
const GdkRGBA *border_color = gsk_border_node_get_colors (node);
const GdkColor *border_color = gsk_border_node_get_colors2 (node);
gtk_snapshot_append_border (snapshot, outline, border_width, border_color);
gtk_snapshot_append_border2 (snapshot, outline, border_width, border_color);
}
static void