summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-20 14:22:28 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-20 14:22:28 +0100
commitedef40bbc432c092b1e5f4f6f5d408180ba188b3 (patch)
tree7d877e0ddbe6261b640b66754c42e985d676fdcc /render
parent971058cd67f738e4d64d1bbce234fa9340cb2668 (diff)
downloadnetsurf-edef40bbc432c092b1e5f4f6f5d408180ba188b3.tar.gz
netsurf-edef40bbc432c092b1e5f4f6f5d408180ba188b3.tar.bz2
Don't pass struct box to content open.
Diffstat (limited to 'render')
-rw-r--r--render/html.c3
-rw-r--r--render/textplain.c6
2 files changed, 2 insertions, 7 deletions
diff --git a/render/html.c b/render/html.c
index 79ca02603..0dde26b9b 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1119,7 +1119,6 @@ html_object_callback(hlcache_handle *object,
if (c->base.status != CONTENT_STATUS_LOADING && c->bw != NULL)
content_open(object,
c->bw, &c->base,
- box,
box->object_params);
break;
@@ -2554,7 +2553,6 @@ static void
html_open(struct content *c,
struct browser_window *bw,
struct content *page,
- struct box *box,
struct object_params *params)
{
html_content *html = (html_content *) c;
@@ -2577,7 +2575,6 @@ html_open(struct content *c,
content_open(object->content,
bw, c,
- object->box,
object->box->object_params);
}
}
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;