[evince/esc_cancel_annotation: 19/19] Fix nitpick.
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/esc_cancel_annotation: 19/19] Fix nitpick.
- Date: Wed, 23 Feb 2022 17:49:01 +0000 (UTC)
commit fe99b22dd128b2117f5247285cbb0860adf3d0d7
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Wed Feb 23 17:18:44 2022 +0000
Fix nitpick.
libview/ev-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index e03f634fc..358eb5e0c 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -3882,7 +3882,7 @@ ev_view_cancel_add_annotation (EvView *view)
if (!view->adding_annot_info.adding_annot)
return;
- if (view->adding_annot_info.annot && view->pressed_button == 1) {
+ if (view->adding_annot_info.annot && view->pressed_button == GDK_BUTTON_PRIMARY) {
annot_page = ev_annotation_get_page_index (view->adding_annot_info.annot);
ev_document_doc_mutex_lock ();
ev_document_annotations_remove_annotation (EV_DOCUMENT_ANNOTATIONS (view->document),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]