summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-03-10 23:13:03 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-03-10 23:13:03 +0000
commit1edcef6141f6efefd2a75f1390815e95427db15c (patch)
treef9e881d4a7713ee262232a25721367b91b13b21a /desktop
parent8f3ed71cbab75c6445a4f13e4e1bc8b768a452b1 (diff)
downloadnetsurf-1edcef6141f6efefd2a75f1390815e95427db15c.tar.gz
netsurf-1edcef6141f6efefd2a75f1390815e95427db15c.tar.bz2
Remove redundant parameter from content_open API
svn path=/trunk/netsurf/; revision=11964
Diffstat (limited to 'desktop')
-rw-r--r--desktop/browser.c2
-rw-r--r--desktop/plugin.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 04bbc3ac7..bf2415a15 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -546,7 +546,7 @@ nserror browser_window_callback(hlcache_handle *c,
/* new content; set scroll_to_top */
browser_window_update(bw, true);
- content_open(c, bw, 0, 0, 0, 0);
+ content_open(c, bw, 0, 0, 0);
browser_window_set_status(bw, content_get_status_message(c));
/* history */
diff --git a/desktop/plugin.h b/desktop/plugin.h
index 3fb207e8e..b615c91af 100644
--- a/desktop/plugin.h
+++ b/desktop/plugin.h
@@ -50,7 +50,7 @@ bool plugin_redraw(struct content *c, int x, int y,
int width, int height, const struct rect *clip,
float scale, colour background_colour);
void plugin_open(struct content *c, struct browser_window *bw,
- struct content *page, unsigned int index, struct box *box,
+ struct content *page, struct box *box,
struct object_params *params);
void plugin_close(struct content *c);
bool plugin_clone(const struct content *old, struct content *new_content);