From: Carlos Garcia Campos Date: Wed, 4 Jul 2007 13:12:36 +0000 (+0000) Subject: Fix build with poppler < 0.5.9. X-Git-Tag: EVINCE_0_8_3~1 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=6f03d33d81e62812224ded083ad81f12bd649911;p=evince.git Fix build with poppler < 0.5.9. 2007-07-04 Carlos Garcia Campos * backend/pdf/ev-poppler.cc: (pdf_selection_render_selection): Fix build with poppler < 0.5.9. svn path=/branches/gnome-2-18/; revision=2547 --- diff --git a/ChangeLog b/ChangeLog index d4601062..a65e1dc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-07-04 Carlos Garcia Campos + + * backend/pdf/ev-poppler.cc: (pdf_selection_render_selection): + + Fix build with poppler < 0.5.9. + 2007-07-02 Carlos Garcia Campos * NEWS: diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index 7e084dbe..8f21312f 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -1624,7 +1624,7 @@ pdf_selection_render_selection (EvSelection *selection, width, height); } -#if POPPLER_VERSION == 5 +#if POPPLER_VERSION <= 5 poppler_page_render_selection (POPPLER_PAGE (rc->data), rc->scale, rc->rotation, *pixbuf, (PopplerRectangle *)points,