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 --- render/textplain.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render/textplain.c') diff --git a/render/textplain.c b/render/textplain.c index 786fe21e0..3294d536a 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -94,6 +94,7 @@ static plot_font_style_t textplain_style = { static int textplain_tab_width = 256; /* try for a sensible default */ +static void textplain_fini(void); static nserror textplain_create(const content_handler *handler, lwc_string *imime_type, const http_parameter *params, llcache_handle *llcache, const char *fallback_charset, @@ -132,6 +133,7 @@ static int textplain_coord_from_offset(const char *text, size_t offset, static float textplain_line_height(void); static const content_handler textplain_content_handler = { + .fini = textplain_fini, .create = textplain_create, .process_data = textplain_process_data, .data_complete = textplain_convert, -- cgit v1.2.3