diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-05-09 15:32:34 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-05-09 15:32:34 +0000 |
commit | 83f9e707eba500d39c12b8078948b932706cdab2 (patch) | |
tree | c904e2c3daa1b70f86d6d5d1d9ae5533d3a44d0f /riscos/content-handlers/artworks.c | |
parent | 0929aa897b73bb5a028c732a0867a7f093f92629 (diff) | |
download | netsurf-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/artworks.c')
-rw-r--r-- | riscos/content-handlers/artworks.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/riscos/content-handlers/artworks.c b/riscos/content-handlers/artworks.c index a46a03010..be1ba7dd2 100644 --- a/riscos/content-handlers/artworks.c +++ b/riscos/content-handlers/artworks.c @@ -118,21 +118,13 @@ static nserror artworks_clone(const struct content *old, struct content **newc); static content_type artworks_content_type(lwc_string *mime_type); static const content_handler artworks_content_handler = { - artworks_create, - NULL, - artworks_convert, - NULL, - artworks_destroy, - NULL, - NULL, - NULL, - artworks_redraw, - NULL, - NULL, - artworks_clone, - NULL, - artworks_content_type, - false + .create = artworks_create, + .data_complete = artworks_convert, + .destroy = artworks_destroy, + .redraw = artworks_redraw, + .clone = artworks_clone, + .type = artworks_content_type, + .no_share = false, }; static const char *artworks_types[] = { |