From 4cef0f955c3be33344361f84d600bccf1b28ce75 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 20 May 2020 23:17:48 +0100 Subject: 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. --- content/handlers/text/textplain.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'content/handlers/text/textplain.h') 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 -- cgit v1.2.3