From edef40bbc432c092b1e5f4f6f5d408180ba188b3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 20 Aug 2012 14:22:28 +0100 Subject: Don't pass struct box to content open. --- render/textplain.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'render/textplain.c') diff --git a/render/textplain.c b/render/textplain.c index 78539b47d..1877f32eb 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -113,8 +113,7 @@ static void textplain_destroy(struct content *c); static bool textplain_redraw(struct content *c, struct content_redraw_data *data, const struct rect *clip, const struct redraw_context *ctx); static void textplain_open(struct content *c, struct browser_window *bw, - struct content *page, struct box *box, - struct object_params *params); + struct content *page, struct object_params *params); void textplain_close(struct content *c); struct selection *textplain_get_selection(struct content *c); struct search_context *textplain_get_search(struct content *c); @@ -855,8 +854,7 @@ bool textplain_redraw(struct content *c, struct content_redraw_data *data, */ void textplain_open(struct content *c, struct browser_window *bw, - struct content *page, struct box *box, - struct object_params *params) + struct content *page, struct object_params *params) { textplain_content *text = (textplain_content *) c; -- cgit v1.2.3