diff options
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, |