diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-15 22:47:50 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-09-15 22:47:50 +0000 |
commit | 339bed72725fe901724440939558c5f9817107ed (patch) | |
tree | d2c3fda42a53d4d763f5901fd16e597ce065dd2e /render/textplain.c | |
parent | 3d71da088b83c2cc5741dfdc8f619fbf2bba55a2 (diff) | |
download | netsurf-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.c | 2 |
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, |