From 2ea577c47ecca38a0b2d15b15d242c771ce59e29 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 23 May 2020 22:09:40 +0100 Subject: remove unused is_html parameter to text selection routines --- desktop/selection.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'desktop/selection.h') diff --git a/desktop/selection.h b/desktop/selection.h index e570d8311..4f3e8b002 100644 --- a/desktop/selection.h +++ b/desktop/selection.h @@ -53,7 +53,6 @@ struct selection unsigned end_idx; bool defined; - bool is_html; seln_drag_state drag_state; }; @@ -79,7 +78,7 @@ struct selection * * \return new selection context */ -struct selection *selection_create(struct content *c, bool is_html); +struct selection *selection_create(struct content *c); /** * Prepare a newly created selection object for use. @@ -88,9 +87,8 @@ struct selection *selection_create(struct content *c, bool is_html); * * \param s selection object * \param c content - * \param is_html true if content is html false if content is textplain */ -void selection_prepare(struct selection *s, struct content *c, bool is_html); +void selection_prepare(struct selection *s, struct content *c); /** * Destroys a selection object clearing it if nesessary -- cgit v1.2.3