st: Stop using Clutter cairo helpers
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2808>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user