depot/third_party/nixpkgs/pkgs/development/python-modules/pypoppler/pypoppler-poppler.c.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

12 lines
817 B
Diff

diff --git a/poppler.c b/poppler.c
index 31b4489..16d0838 100644
--- a/poppler.c
+++ b/poppler.c
@@ -4501,7 +4501,6 @@ py_poppler_add_constants(PyObject *module, const gchar *strip_prefix)
pyg_enum_add(module, "FormTextType", strip_prefix, POPPLER_TYPE_FORM_TEXT_TYPE);
pyg_enum_add(module, "FormChoiceType", strip_prefix, POPPLER_TYPE_FORM_CHOICE_TYPE);
pyg_enum_add(module, "Error", strip_prefix, POPPLER_TYPE_ERROR);
- pyg_enum_add(module, "Orientation", strip_prefix, POPPLER_TYPE_ORIENTATION);
pyg_enum_add(module, "PageTransitionType", strip_prefix, POPPLER_TYPE_PAGE_TRANSITION_TYPE);
pyg_enum_add(module, "PageTransitionAlignment", strip_prefix, POPPLER_TYPE_PAGE_TRANSITION_ALIGNMENT);
pyg_enum_add(module, "PageTransitionDirection", strip_prefix, POPPLER_TYPE_PAGE_TRANSITION_DIRECTION);