summaryrefslogtreecommitdiff
path: root/riscos/content-handlers/sprite.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-05-09 15:32:34 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-05-09 15:32:34 +0000
commit83f9e707eba500d39c12b8078948b932706cdab2 (patch)
treec904e2c3daa1b70f86d6d5d1d9ae5533d3a44d0f /riscos/content-handlers/sprite.c
parent0929aa897b73bb5a028c732a0867a7f093f92629 (diff)
downloadnetsurf-83f9e707eba500d39c12b8078948b932706cdab2.tar.gz
netsurf-83f9e707eba500d39c12b8078948b932706cdab2.tar.bz2
refactor content handler initilisation to use named initialisors
svn path=/trunk/netsurf/; revision=12341
Diffstat (limited to 'riscos/content-handlers/sprite.c')
-rw-r--r--riscos/content-handlers/sprite.c22
1 files changed, 7 insertions, 15 deletions
diff --git a/riscos/content-handlers/sprite.c b/riscos/content-handlers/sprite.c
index de65faca6..b4f370e1a 100644
--- a/riscos/content-handlers/sprite.c
+++ b/riscos/content-handlers/sprite.c
@@ -60,21 +60,13 @@ static nserror sprite_clone(const struct content *old, struct content **newc);
static content_type sprite_content_type(lwc_string *mime_type);
static const content_handler sprite_content_handler = {
- sprite_create,
- NULL,
- sprite_convert,
- NULL,
- sprite_destroy,
- NULL,
- NULL,
- NULL,
- sprite_redraw,
- NULL,
- NULL,
- sprite_clone,
- NULL,
- sprite_content_type,
- false
+ .create = sprite_create,
+ .data_complete = sprite_convert,
+ .destroy = sprite_destroy,
+ .redraw = sprite_redraw,
+ .clone = sprite_clone,
+ .type = sprite_content_type,
+ .no_share = false,
};
static const char *sprite_types[] = {