summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-23 22:00:00 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-23 23:00:08 +0100
commita8c540ea597fb17426c5458fa464f9c505c3bda8 (patch)
treeff85eff8288d5c1584d82ef6719b3c87ce7e5f48 /desktop/selection.h
parentcfe57002febe0f58dfc87f0173ad42126f1362f4 (diff)
downloadnetsurf-a8c540ea597fb17426c5458fa464f9c505c3bda8.tar.gz
netsurf-a8c540ea597fb17426c5458fa464f9c505c3bda8.tar.bz2
move content specific selection end to content handlers
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 cb9289ac7..e570d8311 100644
--- a/desktop/selection.h
+++ b/desktop/selection.h
@@ -108,9 +108,8 @@ void selection_destroy(struct selection *s);
* Used from text and html content handlers
*
* \param s selection object
- * \param root the root box for html document or NULL for text/plain
*/
-void selection_init(struct selection *s, struct box *root);
+void selection_init(struct selection *s);
/**
* Initialise the selection object to use the given box subtree as its root,
@@ -121,9 +120,8 @@ void selection_init(struct selection *s, struct box *root);
* Used from html content handler
*
* \param s selection object
- * \param root the root box for html document or NULL for text/plain
*/
-void selection_reinit(struct selection *s, struct box *root);
+void selection_reinit(struct selection *s);
/**
* Clears the current selection, optionally causing the screen to be updated.