From: Carlos Garcia Campos Date: Fri, 14 Mar 2008 16:34:49 +0000 (+0000) Subject: Fix build with poppler <= 0.7.2 X-Git-Tag: EVINCE_2_22_1~25 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=a6b313955b54d73e608799e22fb5e70a73ef7ffd;p=evince.git Fix build with poppler <= 0.7.2 2008-03-14 Carlos Garcia Campos * backend/pdf/ev-poppler.cc: (pdf_selection_render_selection): Fix build with poppler <= 0.7.2 svn path=/trunk/; revision=2967 --- diff --git a/ChangeLog b/ChangeLog index 436e9c86..68bcbd18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-14 Carlos Garcia Campos + + * backend/pdf/ev-poppler.cc: (pdf_selection_render_selection): + + Fix build with poppler <= 0.7.2 + 2008-03-14 Carlos Garcia Campos * libdocument/ev-document-misc.c: diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index f50407fc..e44a7695 100644 --- a/backend/pdf/ev-poppler.cc +++ b/backend/pdf/ev-poppler.cc @@ -1902,10 +1902,10 @@ pdf_selection_render_selection (EvSelection *selection, cairo_t *cr; #if POPPLER_MAJOR_VERSION <= 6 || (POPPLER_MAJOR_VERSION == 7 && POPPLER_MINOR_VERSION < 2) - GdkColor **text_color, **base_color; + GdkColor text_color, base_color; - *text_color = text; - *base_color = base; + text_color = *text; + base_color = *base; #else PopplerColor text_color, base_color;