st: Stop using Clutter cairo helpers

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2808>
This commit is contained in:
Bilal Elmoussaoui
2023-07-18 15:50:48 +02:00
parent ef9113da43
commit 198dde2696
6 changed files with 24 additions and 19 deletions

View File

@@ -68,11 +68,11 @@ const PieTimer = GObject.registerClass({
cr.closePath();
cr.setLineWidth(0);
Clutter.cairo_set_source_color(cr, backgroundColor);
cr.setSourceColor(backgroundColor);
cr.fillPreserve();
cr.setLineWidth(borderWidth);
Clutter.cairo_set_source_color(cr, borderColor);
cr.setSourceColor(borderColor);
cr.stroke();
cr.$dispose();