[evince] backend: Fix warning due to wrong enumeration value
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] backend: Fix warning due to wrong enumeration value
- Date: Mon, 22 Jun 2020 05:00:02 +0000 (UTC)
commit 52994f3669c51b51ab90eb28d76d20be3bc92793
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Mon Jun 22 00:58:02 2020 -0400
backend: Fix warning due to wrong enumeration value
Use Poppler enumeration instead of Evince's one.
backend/pdf/ev-poppler.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index 911894b9..7567f851 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -2734,7 +2734,7 @@ ev_form_field_from_poppler_field (PdfDocument *pdf_document,
case POPPLER_FORM_CHOICE_COMBO:
ev_choice_type = EV_FORM_FIELD_CHOICE_COMBO;
break;
- case EV_FORM_FIELD_CHOICE_LIST:
+ case POPPLER_FORM_CHOICE_LIST:
ev_choice_type = EV_FORM_FIELD_CHOICE_LIST;
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]