diff -Nurd -x'*~' evince-2.22.2.orig/backend/pdf/ev-poppler.cc evince-2.22.2/backend/pdf/ev-poppler.cc --- evince-2.22.2.orig/backend/pdf/ev-poppler.cc 2008-05-28 17:13:58.000000000 -0400 +++ evince-2.22.2/backend/pdf/ev-poppler.cc 2013-03-09 11:30:21.000000000 -0500 @@ -563,6 +563,7 @@ PopplerPageMode mode; PopplerViewerPreferences view_prefs; PopplerPermissions permissions; + gboolean linearized; info = g_new0 (EvDocumentInfo, 1); @@ -598,7 +599,7 @@ "producer", &(info->producer), "creation-date", &(info->creation_date), "mod-date", &(info->modified_date), - "linearized", &(info->linearized), + "linearized", &linearized, NULL); pdf_document_get_page_size(document, 0, @@ -697,6 +698,8 @@ info->security = g_strdup (_("No")); } + info->linearized = linearized ? g_strdup (_("Yes")) : g_strdup (_("No")); + return info; } @@ -960,6 +963,8 @@ const char *unimplemented_action = NULL; switch (action->type) { + case POPPLER_ACTION_NONE: + break; case POPPLER_ACTION_GOTO_DEST: { EvLinkDest *dest; @@ -989,6 +994,15 @@ case POPPLER_ACTION_MOVIE: unimplemented_action = "POPPLER_ACTION_MOVIE"; break; + case POPPLER_ACTION_RENDITION: + unimplemented_action = "POPPLER_ACTION_RENDITION"; + break; + case POPPLER_ACTION_OCG_STATE: + unimplemented_action = "POPPLER_ACTION_OGG_STATE"; + break; + case POPPLER_ACTION_JAVASCRIPT: + unimplemented_action = "POPPLER_ACTION_JAVASCRIPT"; + break; case POPPLER_ACTION_UNKNOWN: unimplemented_action = "POPPLER_ACTION_UNKNOWN"; } @@ -1979,7 +1993,7 @@ r.x2 = points->x2; r.y2 = height - points->y1; - retval = poppler_page_get_text (poppler_page, + retval = poppler_page_get_selected_text (poppler_page, (PopplerSelectionStyle)style, &r);