summaryrefslogtreecommitdiff
path: root/content/handlers/text/textplain.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-20 23:17:48 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-20 23:17:48 +0100
commit4cef0f955c3be33344361f84d600bccf1b28ce75 (patch)
tree222d27faab4fa078d183d1771b818c4a6448f5bb /content/handlers/text/textplain.h
parent2f672279014bb6ef2f7b9f346c58d20c7604bad9 (diff)
downloadnetsurf-4cef0f955c3be33344361f84d600bccf1b28ce75.tar.gz
netsurf-4cef0f955c3be33344361f84d600bccf1b28ce75.tar.bz2
pass the browser window to selection click handler
this means the content handlers do not have to provide a separate method to extract their browser window and it can simply be passed in.
Diffstat (limited to 'content/handlers/text/textplain.h')
-rw-r--r--content/handlers/text/textplain.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/content/handlers/text/textplain.h b/content/handlers/text/textplain.h
index a2cfb5e00..716397acc 100644
--- a/content/handlers/text/textplain.h
+++ b/content/handlers/text/textplain.h
@@ -73,12 +73,4 @@ void textplain_coords_from_range(struct content *c,
char *textplain_get_raw_data(struct content *c, unsigned start, unsigned end, size_t *plen);
-/**
- * Get the browser window containing a textplain content
- *
- * \param[in] c text/plain content
- * \return the browser window
- */
-struct browser_window *textplain_get_browser_window(struct content *c);
-
#endif