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/ico.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/ico.c')
-rw-r--r-- | image/ico.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/image/ico.c b/image/ico.c index 2f546b6e8..e9cfc3a55 100644 --- a/image/ico.c +++ b/image/ico.c @@ -230,21 +230,13 @@ static content_type nsico_content_type(lwc_string *mime_type) } static const content_handler nsico_content_handler = { - nsico_create, - NULL, - nsico_convert, - NULL, - nsico_destroy, - NULL, - NULL, - NULL, - nsico_redraw, - NULL, - NULL, - nsico_clone, - NULL, - nsico_content_type, - false + .create = nsico_create, + .data_complete = nsico_convert, + .destroy = nsico_destroy, + .redraw = nsico_redraw, + .clone = nsico_clone, + .type = nsico_content_type, + .no_share = false, }; |