diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | backend/pdf/ev-poppler.cc | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,11 @@ 2008-03-14 Carlos Garcia Campos <carlosgc@gnome.org> + * backend/pdf/ev-poppler.cc: (pdf_selection_render_selection): + + Fix build with poppler <= 0.7.2 + +2008-03-14 Carlos Garcia Campos <carlosgc@gnome.org> + * libdocument/ev-document-misc.c: (ev_document_misc_surface_from_pixbuf): diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc index f50407f..e44a769 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; |