Port GtkIconTheme to new snapshot apis

This commit is contained in:
Matthias Clasen
2024-06-15 09:58:38 -04:00
parent f622f21c0f
commit 6aeb0ef751

View File

@@ -3918,7 +3918,7 @@ gtk_icon_paintable_snapshot_symbolic (GtkSymbolicPaintable *paintable,
gtk_snapshot_push_mask (snapshot, GSK_MASK_MODE_ALPHA);
gtk_snapshot_append_texture (snapshot, texture, &render_rect);
gtk_snapshot_pop (snapshot);
gtk_snapshot_append_color (snapshot, &colors[0], &render_rect);
gtk_snapshot_append_color2 (snapshot, &GDK_COLOR_INIT_RGBA (&colors[0]), &render_rect);
gtk_snapshot_pop (snapshot);
}
else if (icon->is_symbolic)