summaryrefslogtreecommitdiff
path: root/image
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 /image
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 'image')
-rw-r--r--image/bmp.c2
-rw-r--r--image/gif.c2
-rw-r--r--image/ico.c2
-rw-r--r--image/jpeg.c2
-rw-r--r--image/mng.c2
-rw-r--r--image/nssprite.c2
-rw-r--r--image/png.c2
-rw-r--r--image/rsvg.c2
-rw-r--r--image/svg.c2
-rw-r--r--image/webp.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/image/bmp.c b/image/bmp.c
index fdf64d9dc..aea6d26fc 100644
--- a/image/bmp.c
+++ b/image/bmp.c
@@ -251,7 +251,7 @@ static void *nsbmp_get_internal(const struct content *c, void *context)
return bmp->bitmap;
}
-static content_type nsbmp_content_type(lwc_string *mime_type)
+static content_type nsbmp_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/gif.c b/image/gif.c
index 88cc22147..aa05a8c81 100644
--- a/image/gif.c
+++ b/image/gif.c
@@ -411,7 +411,7 @@ static void *nsgif_get_internal(const struct content *c, void *context)
return gif->bitmap;
}
-static content_type nsgif_content_type(lwc_string *mime_type)
+static content_type nsgif_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/ico.c b/image/ico.c
index f12e0cccb..6a8da57ea 100644
--- a/image/ico.c
+++ b/image/ico.c
@@ -219,7 +219,7 @@ static void *nsico_get_internal(const struct content *c, void *context)
return ico->bitmap;
}
-static content_type nsico_content_type(lwc_string *mime_type)
+static content_type nsico_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/jpeg.c b/image/jpeg.c
index 29fd0bf5c..ec1be8eab 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -345,7 +345,7 @@ static void *nsjpeg_get_internal(const struct content *c, void *context)
return jpeg_c->bitmap;
}
-static content_type nsjpeg_content_type(lwc_string *mime_type)
+static content_type nsjpeg_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/mng.c b/image/mng.c
index f0eff4b69..396cd6b94 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -770,7 +770,7 @@ static void *nsmng_get_internal(const struct content *c, void *context)
return mng->bitmap;
}
-static content_type nsmng_content_type(lwc_string *mime_type)
+static content_type nsmng_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/nssprite.c b/image/nssprite.c
index 4e6b659e1..7789d8df9 100644
--- a/image/nssprite.c
+++ b/image/nssprite.c
@@ -226,7 +226,7 @@ static void *nssprite_get_internal(const struct content *c, void *context)
return nssprite->bitmap;
}
-static content_type nssprite_content_type(lwc_string *mime_type)
+static content_type nssprite_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/png.c b/image/png.c
index 66826bb3d..b2dc0e145 100644
--- a/image/png.c
+++ b/image/png.c
@@ -418,7 +418,7 @@ static void *nspng_get_internal(const struct content *c, void *context)
return png_c->bitmap;
}
-static content_type nspng_content_type(lwc_string *mime_type)
+static content_type nspng_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/rsvg.c b/image/rsvg.c
index 691e03370..68d677054 100644
--- a/image/rsvg.c
+++ b/image/rsvg.c
@@ -297,7 +297,7 @@ static void *rsvg_get_internal(const struct content *c, void *context)
return d->bitmap;
}
-static content_type rsvg_content_type(lwc_string *mime_type)
+static content_type rsvg_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/svg.c b/image/svg.c
index 43f456bd6..698d20d55 100644
--- a/image/svg.c
+++ b/image/svg.c
@@ -319,7 +319,7 @@ static nserror svg_clone(const struct content *old, struct content **newc)
return NSERROR_OK;
}
-static content_type svg_content_type(lwc_string *mime_type)
+static content_type svg_content_type(void)
{
return CONTENT_IMAGE;
}
diff --git a/image/webp.c b/image/webp.c
index 714e44c5c..eba155492 100644
--- a/image/webp.c
+++ b/image/webp.c
@@ -200,7 +200,7 @@ static void *webp_get_internal(const struct content *c, void *context)
return webp->bitmap;
}
-static content_type webp_content_type(lwc_string *mime_type)
+static content_type webp_content_type(void)
{
return CONTENT_IMAGE;
}