diff options
Diffstat (limited to 'image/svg.c')
-rw-r--r-- | image/svg.c | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/image/svg.c b/image/svg.c index 5f093b8e8..a447eaf54 100644 --- a/image/svg.c +++ b/image/svg.c @@ -59,21 +59,14 @@ static nserror svg_clone(const struct content *old, struct content **newc); static content_type svg_content_type(lwc_string *mime_type); static const content_handler svg_content_handler = { - svg_create, - NULL, - svg_convert, - svg_reformat, - svg_destroy, - NULL, - NULL, - NULL, - svg_redraw, - NULL, - NULL, - svg_clone, - NULL, - svg_content_type, - false + .create = svg_create, + .data_complete = svg_convert, + .reformat = svg_reformat, + .destroy = svg_destroy, + .redraw = svg_redraw, + .clone = svg_clone, + .type = svg_content_type, + .no_share = false, }; static const char *svg_types[] = { |