From 9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 3 Sep 2011 09:27:42 +0000 Subject: Remove mime_type parameter from content handler content_type callback API svn path=/trunk/netsurf/; revision=12704 --- riscos/content-handlers/artworks.c | 4 ++-- riscos/content-handlers/draw.c | 4 ++-- riscos/content-handlers/sprite.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'riscos/content-handlers') diff --git a/riscos/content-handlers/artworks.c b/riscos/content-handlers/artworks.c index ffbd7835e..a669dce14 100644 --- a/riscos/content-handlers/artworks.c +++ b/riscos/content-handlers/artworks.c @@ -113,7 +113,7 @@ static void artworks_destroy(struct content *c); static bool artworks_redraw(struct content *c, struct content_redraw_data *data, const struct rect *clip, const struct redraw_context *ctx); static nserror artworks_clone(const struct content *old, struct content **newc); -static content_type artworks_content_type(lwc_string *mime_type); +static content_type artworks_content_type(void); static const content_handler artworks_content_handler = { .create = artworks_create, @@ -468,7 +468,7 @@ nserror artworks_clone(const struct content *old, struct content **newc) return NSERROR_OK; } -content_type artworks_content_type(lwc_string *mime_type) +content_type artworks_content_type(void) { return CONTENT_IMAGE; } diff --git a/riscos/content-handlers/draw.c b/riscos/content-handlers/draw.c index 5f3865921..536ee0516 100644 --- a/riscos/content-handlers/draw.c +++ b/riscos/content-handlers/draw.c @@ -53,7 +53,7 @@ static void draw_destroy(struct content *c); static bool draw_redraw(struct content *c, struct content_redraw_data *data, const struct rect *clip, const struct redraw_context *ctx); static nserror draw_clone(const struct content *old, struct content **newc); -static content_type draw_content_type(lwc_string *mime_type); +static content_type draw_content_type(void); static const content_handler draw_content_handler = { .create = draw_create, @@ -281,7 +281,7 @@ nserror draw_clone(const struct content *old, struct content **newc) return NSERROR_OK; } -content_type draw_content_type(lwc_string *mime_type) +content_type draw_content_type(void) { return CONTENT_IMAGE; } diff --git a/riscos/content-handlers/sprite.c b/riscos/content-handlers/sprite.c index 9260703f4..f93deaa60 100644 --- a/riscos/content-handlers/sprite.c +++ b/riscos/content-handlers/sprite.c @@ -55,7 +55,7 @@ static void sprite_destroy(struct content *c); static bool sprite_redraw(struct content *c, struct content_redraw_data *data, const struct rect *clip, const struct redraw_context *ctx); static nserror sprite_clone(const struct content *old, struct content **newc); -static content_type sprite_content_type(lwc_string *mime_type); +static content_type sprite_content_type(void); static const content_handler sprite_content_handler = { .create = sprite_create, @@ -254,7 +254,7 @@ nserror sprite_clone(const struct content *old, struct content **newc) return NSERROR_OK; } -content_type sprite_content_type(lwc_string *mime_type) +content_type sprite_content_type(void) { return CONTENT_IMAGE; } -- cgit v1.2.3