summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-09-15 22:47:50 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-09-15 22:47:50 +0000
commit339bed72725fe901724440939558c5f9817107ed (patch)
treed2c3fda42a53d4d763f5901fd16e597ce065dd2e /render/textplain.c
parent3d71da088b83c2cc5741dfdc8f619fbf2bba55a2 (diff)
downloadnetsurf-339bed72725fe901724440939558c5f9817107ed.tar.gz
netsurf-339bed72725fe901724440939558c5f9817107ed.tar.bz2
Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c2
1 files changed, 2 insertions, 0 deletions
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,