diff options
author | Germán Poo-Caamaño <[email protected]> | 2014-05-02 18:25:30 -0700 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-28 16:04:01 +0200 |
commit | 1407d52f712f3616e9420030726e2fbd1afbb45e (patch) | |
tree | 2a0a4b0f70dd0b5654794d28852463f9937f750b /libview/ev-view.h | |
parent | 4a24be7eb05f971e77064fb22d7a649bf959d90b (diff) | |
download | atril-1407d52f712f3616e9420030726e2fbd1afbb45e.tar.bz2 atril-1407d52f712f3616e9420030726e2fbd1afbb45e.tar.xz |
libview: add ev_view_remove_annotation
Hide annotation windows if necessary and unset selected
element before removing an annotation.
https://bugzilla.gnome.org/show_bug.cgi?id=649044
origin commit:
https://git.gnome.org/browse/evince/commit/?id=927e956
Diffstat (limited to 'libview/ev-view.h')
-rw-r--r-- | libview/ev-view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libview/ev-view.h b/libview/ev-view.h index 31a9bf41..d46cfcef 100644 --- a/libview/ev-view.h +++ b/libview/ev-view.h @@ -112,6 +112,8 @@ void ev_view_focus_annotation (EvView *view, void ev_view_begin_add_annotation (EvView *view, EvAnnotationType annot_type); void ev_view_cancel_add_annotation (EvView *view); +void ev_view_remove_annotation (EvView *view, + EvAnnotation *annot); /*For epub*/ void ev_view_disconnect_handlers (EvView *view); |