From 339bed72725fe901724440939558c5f9817107ed Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 15 Sep 2011 22:47:50 +0000 Subject: Virtualise content handler finalisation calls. Remove pointless implementations. svn path=/trunk/netsurf/; revision=12797 --- css/css.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'css/css.c') diff --git a/css/css.c b/css/css.c index 06dba6133..1f61524f1 100644 --- a/css/css.c +++ b/css/css.c @@ -55,6 +55,7 @@ typedef struct { * imports array */ } nscss_import_ctx; +static void nscss_fini(void); static nserror nscss_create(const content_handler *handler, lwc_string *imime_type, const http_parameter *params, llcache_handle *llcache, const char *fallback_charset, @@ -79,6 +80,7 @@ static css_error nscss_register_import(struct content_css_data *c, const hlcache_handle *import); static const content_handler css_content_handler = { + .fini = nscss_fini, .create = nscss_create, .process_data = nscss_process_data, .data_complete = nscss_convert, @@ -95,7 +97,7 @@ static css_stylesheet *blank_import; /** * Initialise the CSS content handler */ -nserror css_init(void) +nserror nscss_init(void) { lwc_error lerror; nserror error; @@ -117,7 +119,7 @@ nserror css_init(void) /** * Clean up after the CSS content handler */ -void css_fini(void) +void nscss_fini(void) { if (css_charset != NULL) { lwc_string_unref(css_charset); -- cgit v1.2.3