Convert colors to GdkRGBA
This commit is contained in:
committed by
Stéphane Lesimple
parent
6c88a55600
commit
d66ee15738
@@ -259,7 +259,7 @@ static void redraw_spiral_labels(cairo_t *cr)
|
||||
|
||||
x = 10;
|
||||
GuiSetText(Closure->readLinearCurve->layout, _("Medium state"), &w, &h);
|
||||
gdk_cairo_set_source_color(cr, Closure->curveColor);
|
||||
gdk_cairo_set_source_rgba(cr, Closure->curveColor);
|
||||
cairo_move_to(cr, x, Closure->readLinearCurve->topY - h - 5);
|
||||
pango_cairo_show_layout(cr, Closure->readLinearCurve->layout);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user