From df3510ed9fdf66e192f89e222a1dfc867af2729d Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Tue, 22 May 2007 10:04:21 +0000 Subject: Fix build with current poppler from cvs head. 2007-05-22 Carlos Garcia Campos * configure.ac: * backend/pdf/ev-poppler.cc: (pdf_selection_render_selection): Fix build with current poppler from cvs head. svn path=/trunk/; revision=2473 --- (limited to 'backend') diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index 1edbb48..6822464 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -1623,13 +1623,22 @@ pdf_selection_render_selection (EvSelection *selection, TRUE, 8, width, height); } - + +#ifdef HAVE_POPPLER_PAGE_RENDER_SELECTION_TO_PIXBUF + poppler_page_render_selection_to_pixbuf (POPPLER_PAGE (rc->data), + rc->scale, rc->rotation, *pixbuf, + (PopplerRectangle *)points, + (PopplerRectangle *)old_points, + text, + base); +#else poppler_page_render_selection (POPPLER_PAGE (rc->data), rc->scale, rc->rotation, *pixbuf, (PopplerRectangle *)points, (PopplerRectangle *)old_points, text, base); +#endif /* HAVE_POPPLER_PAGE_RENDER_SELECTION_TO_PIXBUF */ } -- cgit v0.9.1