summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-02-14 19:17:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-02-14 19:17:08 +0000
commitf42ed976e5e4c59b25250ad106527ac7b4447f68 (patch)
tree0886af935d7a79210ee43ea9f5b11c8387f89036 /content/content.c
parentc05333fa62c6dfdd76f20d8a4056bd66f6e9cddd (diff)
downloadnetsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.gz
netsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.bz2
Constify
svn path=/trunk/netsurf/; revision=11680
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/content.c b/content/content.c
index d3fc32388..60996f6a0 100644
--- a/content/content.c
+++ b/content/content.c
@@ -275,10 +275,10 @@ struct handler_entry {
void (*mouse_action)(struct content *c, struct browser_window *bw,
browser_mouse_state mouse, int x, int y);
bool (*redraw)(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour);
bool (*redraw_tiled)(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour,
bool repeat_x, bool repeat_y);
void (*open)(struct content *c, struct browser_window *bw,
@@ -901,7 +901,7 @@ void content_request_redraw(struct hlcache_handle *h,
*/
bool content_redraw(hlcache_handle *h, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour)
{
struct content *c = hlcache_handle_get_content(h);
@@ -929,7 +929,7 @@ bool content_redraw(hlcache_handle *h, int x, int y,
*/
bool content_redraw_tiled(hlcache_handle *h, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour,
bool repeat_x, bool repeat_y)
{