From: Hib Eris Date: Thu, 27 May 2010 13:10:13 +0000 (+0200) Subject: [pdf] Catch rendition and ocg_state actions X-Git-Tag: EVINCE_2_31_3~21 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=commitdiff_plain;h=479a3bc00ec9d7a135a276d94a0b237b5fe03476 [pdf] Catch rendition and ocg_state actions --- diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index add48f74..6d660b68 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -1163,6 +1163,14 @@ ev_link_from_action (PdfDocument *pdf_document, case POPPLER_ACTION_MOVIE: unimplemented_action = "POPPLER_ACTION_MOVIE"; break; +#if POPPLER_CHECK_VERSION (0, 13, 2) + case POPPLER_ACTION_RENDITION: + unimplemented_action = "POPPLER_ACTION_RENDITION"; + break; + case POPPLER_ACTION_OCG_STATE: + unimplemented_action = "POPPLER_ACTION_OCG_STATE"; + break; +#endif case POPPLER_ACTION_UNKNOWN: unimplemented_action = "POPPLER_ACTION_UNKNOWN"; }