summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2008-04-07 11:15:09 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2008-04-07 11:15:09 +0000
commit59641def822ba66ed9bf3ae73ed53dffe45a992c (patch)
tree471343dc45ddfa4549c94f48ba4019998b99a675 /gtk
parent79acb8b08c22ad15a54f93e66516904fe133232d (diff)
downloadnetsurf-59641def822ba66ed9bf3ae73ed53dffe45a992c.tar.gz
netsurf-59641def822ba66ed9bf3ae73ed53dffe45a992c.tar.bz2
const fixes in plotters and history core
svn path=/trunk/netsurf/; revision=4083
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk_plotters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c
index 9f40f3694..24282c67d 100644
--- a/gtk/gtk_plotters.c
+++ b/gtk/gtk_plotters.c
@@ -57,7 +57,7 @@ static bool nsgtk_plot_path(float *p, unsigned int n, colour fill, float width,
static bool nsgtk_plot_fill(int x0, int y0, int x1, int y1, colour c);
static bool nsgtk_plot_clip(int clip_x0, int clip_y0,
int clip_x1, int clip_y1);
-static bool nsgtk_plot_text(int x, int y, struct css_style *style,
+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_disc(int x, int y, int radius, colour c, bool filled);
static bool nsgtk_plot_arc(int x, int y, int radius, int angle1, int angle2,
@@ -223,7 +223,7 @@ bool nsgtk_plot_clip(int clip_x0, int clip_y0,
}
-bool nsgtk_plot_text(int x, int y, struct css_style *style,
+bool nsgtk_plot_text(int x, int y, const struct css_style *style,
const char *text, size_t length, colour bg, colour c)
{
return nsfont_paint(style, text, length, x, y, c);