diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-05-23 22:16:27 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-05-23 23:00:08 +0100 |
commit | 1161029d2952e5e11062d750a0a681643574428e (patch) | |
tree | 0ae814b5a3776b30ee37f5f8cbaa2cdb2b59809e /content/handlers/html/textselection.c | |
parent | 2ea577c47ecca38a0b2d15b15d242c771ce59e29 (diff) | |
download | netsurf-1161029d2952e5e11062d750a0a681643574428e.tar.gz netsurf-1161029d2952e5e11062d750a0a681643574428e.tar.bz2 |
remove unecessary content handler specific selection creation
Diffstat (limited to 'content/handlers/html/textselection.c')
-rw-r--r-- | content/handlers/html/textselection.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/content/handlers/html/textselection.c b/content/handlers/html/textselection.c index becebb882..c0b27eb33 100644 --- a/content/handlers/html/textselection.c +++ b/content/handlers/html/textselection.c @@ -258,22 +258,6 @@ coords_from_range(struct box *box, } -/** - * create a selection object suitable for this content - */ -nserror -html_create_selection(struct content *c, struct selection **sel_out) -{ - struct selection *sel; - sel = selection_create(c); - if (sel == NULL) { - return NSERROR_NOMEM; - } - - *sel_out = sel; - return NSERROR_OK; -} - /* exported interface documented in html/textselection.h */ nserror html_textselection_redraw(struct content *c, |