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 /css/css.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 'css/css.c')
-rw-r--r-- | css/css.c | 23 |
1 files changed, 8 insertions, 15 deletions
@@ -79,21 +79,14 @@ static css_error nscss_register_import(struct content_css_data *c, const hlcache_handle *import); static const content_handler css_content_handler = { - nscss_create, - nscss_process_data, - nscss_convert, - NULL, - nscss_destroy, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - nscss_clone, - nscss_matches_quirks, - nscss_content_type, - false + .create = nscss_create, + .process_data = nscss_process_data, + .data_complete = nscss_convert, + .destroy = nscss_destroy, + .clone = nscss_clone, + .matches_quirks = nscss_matches_quirks, + .type = nscss_content_type, + .no_share = false, }; static lwc_string *css_mime_type; |