summaryrefslogtreecommitdiff
path: root/gtk/gtk_plotters.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtk_plotters.c')
-rw-r--r--gtk/gtk_plotters.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c
index 8f906113c..a88e9a8e4 100644
--- a/gtk/gtk_plotters.c
+++ b/gtk/gtk_plotters.c
@@ -304,10 +304,10 @@ static bool nsgtk_plot_polygon(const int *p, unsigned int n, const plot_style_t
-static bool nsgtk_plot_text(int x, int y, const struct css_style *style,
- const char *text, size_t length, colour bg, colour c)
+static bool nsgtk_plot_text(int x, int y, const char *text, size_t length,
+ const plot_font_style_t *fstyle)
{
- return nsfont_paint(style, text, length, x, y, c);
+ return nsfont_paint(x, y, text, length, fstyle);
}