summaryrefslogtreecommitdiff
path: root/desktop/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/selection.h')
-rw-r--r--desktop/selection.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop/selection.h b/desktop/selection.h
index 30024743d..7ece4bd85 100644
--- a/desktop/selection.h
+++ b/desktop/selection.h
@@ -55,11 +55,6 @@ struct selection
};
-typedef bool (*seln_traverse_handler)(const char *text, size_t length,
- struct box *box, void *handle, const char *whitespace_text,
- size_t whitespace_length);
-
-
struct selection *selection_create(struct content *c, bool is_html);
void selection_prepare(struct selection *s, struct content *c, bool is_html);
void selection_destroy(struct selection *s);
@@ -102,9 +97,6 @@ char * selection_get_copy(struct selection *s);
/* void selection_drag_end(struct selection *s); */
#define selection_drag_end(s) ((s)->drag_state = DRAG_NONE)
-bool selection_traverse(struct selection *s, seln_traverse_handler handler,
- void *handle);
-
bool selection_highlighted(const struct selection *s,
unsigned start, unsigned end,
unsigned *start_idx, unsigned *end_idx);