diff options
-rw-r--r-- | desktop/selection.c | 13 | ||||
-rw-r--r-- | desktop/selection.h | 5 |
2 files changed, 0 insertions, 18 deletions
diff --git a/desktop/selection.c b/desktop/selection.c index e8978d448..1b85a090c 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -211,19 +211,6 @@ void selection_init(struct selection *s, struct box *root) /** - * Indicate whether the selected text is read only, ie. cannot be modified. - * - * \param s selection object - * \return true iff the selection is read only - */ - -bool selection_read_only(struct selection *s) -{ - return true; -} - - -/** * Label each text box in the given box subtree with its position * in a textual representation of the content. * diff --git a/desktop/selection.h b/desktop/selection.h index 5e3286fc5..7e620fc46 100644 --- a/desktop/selection.h +++ b/desktop/selection.h @@ -75,8 +75,6 @@ void selection_reinit(struct selection *s, struct box *root); /* bool selection_dragging_start(struct selection *s); */ #define selection_dragging_start(s) ((s)->drag_state == DRAG_START) -bool selection_read_only(struct selection *s); - void selection_clear(struct selection *s, bool redraw); void selection_select_all(struct selection *s); @@ -99,7 +97,4 @@ bool selection_highlighted(const struct selection *s, unsigned start, unsigned end, unsigned *start_idx, unsigned *end_idx); -void selection_update(struct selection *s, size_t byte_offset, int change, - bool redraw); - #endif |