summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-09-03 09:27:42 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-09-03 09:27:42 +0000
commit9ee4f6146e06f6d142cc98a2bc600a49b4a3ddc6 (patch)
tree08e36656c3bdc25b57021fdeb86cdc65901495ed /css
parent4539f8836e30b16982efab4e7c70191af171e7d5 (diff)
downloadnetsurf-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 'css')
-rw-r--r--css/css.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/css/css.c b/css/css.c
index 9d0014ec6..61f0b2e7e 100644
--- a/css/css.c
+++ b/css/css.c
@@ -65,7 +65,7 @@ static bool nscss_convert(struct content *c);
static void nscss_destroy(struct content *c);
static nserror nscss_clone(const struct content *old, struct content **newc);
static bool nscss_matches_quirks(const struct content *c, bool quirks);
-static content_type nscss_content_type(lwc_string *mime_type);
+static content_type nscss_content_type(void);
static void nscss_content_done(struct content_css_data *css, void *pw);
static css_error nscss_handle_import(void *pw, css_stylesheet *parent,
@@ -476,10 +476,9 @@ struct nscss_import *nscss_get_imports(hlcache_handle *h, uint32_t *n)
/**
* Compute the type of a content
*
- * \param mime_type MIME type
* \return CONTENT_CSS
*/
-content_type nscss_content_type(lwc_string *mime_type)
+content_type nscss_content_type(void)
{
return CONTENT_CSS;
}