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 /image/rsvg.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 'image/rsvg.c')
-rw-r--r-- | image/rsvg.c | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/image/rsvg.c b/image/rsvg.c index 80c5368a4..63c2f2b6f 100644 --- a/image/rsvg.c +++ b/image/rsvg.c @@ -310,21 +310,14 @@ static content_type rsvg_content_type(lwc_string *mime_type) } static const content_handler rsvg_content_handler = { - rsvg_create, - rsvg_process_data, - rsvg_convert, - NULL, - rsvg_destroy, - NULL, - NULL, - NULL, - rsvg_redraw, - NULL, - NULL, - rsvg_clone, - NULL, - rsvg_content_type, - false + .create = rsvg_create, + .process_data = rsvg_process_data, + .data_complete = rsvg_convert, + .destroy = rsvg_destroy, + .redraw = rsvg_redraw, + .clone = rsvg_clone, + .type = rsvg_content_type, + .no_share = false, }; nserror nsrsvg_init(void) |