summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-23 22:09:40 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-23 23:00:08 +0100
commit2ea577c47ecca38a0b2d15b15d242c771ce59e29 (patch)
treefcc5dd27bcd3f5942bb6b58fd5c2d948c4b5ee5f /desktop/selection.h
parenta8c540ea597fb17426c5458fa464f9c505c3bda8 (diff)
downloadnetsurf-2ea577c47ecca38a0b2d15b15d242c771ce59e29.tar.gz
netsurf-2ea577c47ecca38a0b2d15b15d242c771ce59e29.tar.bz2
remove unused is_html parameter to text selection routines
Diffstat (limited to 'desktop/selection.h')
-rw-r--r--desktop/selection.h6
1 files changed, 2 insertions, 4 deletions
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