diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-03 09:27:42 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-03 09:27:42 +0000 |
commit | 9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6 (patch) | |
tree | 08e36656c3bdc25b57021fdeb86cdc65901495ed /cocoa/apple_image.m | |
parent | 4539f8836e30b16982efab4e7c70191af171e7d5 (diff) | |
download | netsurf-9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6.tar.gz netsurf-9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6.tar.bz2 |
Remove mime_type parameter from content handler content_type callback API
svn path=/trunk/netsurf/; revision=12704
Diffstat (limited to 'cocoa/apple_image.m')
-rw-r--r-- | cocoa/apple_image.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/apple_image.m b/cocoa/apple_image.m index 4eef98530..f88e6cc7e 100644 --- a/cocoa/apple_image.m +++ b/cocoa/apple_image.m @@ -48,7 +48,7 @@ static bool apple_image_redraw(struct content *c, struct content_redraw_data *da const struct rect *clip, const struct redraw_context *ctx); static nserror apple_image_clone(const struct content *old, struct content **newc); -static content_type apple_image_content_type(lwc_string *mime_type); +static content_type apple_image_content_type(void); static void *apple_image_get_internal(const struct content *c, void *context) { @@ -249,7 +249,7 @@ nserror apple_image_clone(const struct content *old, struct content **newc) return NSERROR_OK; } -content_type apple_image_content_type(lwc_string *mime_type) +content_type apple_image_content_type(void) { return CONTENT_IMAGE; } |