summaryrefslogtreecommitdiff
path: root/gtk/print.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-02-14 22:08:21 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-02-14 22:08:21 +0000
commit96654154288d6831524c1d6b76131c9bf8fd1249 (patch)
treeb2dd5b87ae094cdabbd1088c7dd6b5a28008238a /gtk/print.c
parent94e7b44ebc1710eed0f870428ddb5bfcd85858fa (diff)
downloadnetsurf-96654154288d6831524c1d6b76131c9bf8fd1249.tar.gz
netsurf-96654154288d6831524c1d6b76131c9bf8fd1249.tar.bz2
Add "const".
svn path=/trunk/netsurf/; revision=11684
Diffstat (limited to 'gtk/print.c')
-rw-r--r--gtk/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/print.c b/gtk/print.c
index 1da89551a..667c554ee 100644
--- a/gtk/print.c
+++ b/gtk/print.c
@@ -169,7 +169,7 @@ static inline void nsgtk_print_set_dashed(void)
}
/** Set clipping area for subsequent plot operations. */
-static bool nsgtk_print_plot_clip(struct rect *clip)
+static bool nsgtk_print_plot_clip(const struct rect *clip)
{
LOG(("Clipping. x0: %i ;\t y0: %i ;\t x1: %i ;\t y1: %i",
clip->x0, clip->y0, clip->x1, clip->y1));