summaryrefslogtreecommitdiff
path: root/css/css.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-05-09 15:32:34 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-05-09 15:32:34 +0000
commit83f9e707eba500d39c12b8078948b932706cdab2 (patch)
treec904e2c3daa1b70f86d6d5d1d9ae5533d3a44d0f /css/css.c
parent0929aa897b73bb5a028c732a0867a7f093f92629 (diff)
downloadnetsurf-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.c23
1 files changed, 8 insertions, 15 deletions
diff --git a/css/css.c b/css/css.c
index a70ae8037..63862c720 100644
--- a/css/css.c
+++ b/css/css.c
@@ -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;