]> www.fi.muni.cz Git - evince.git/commitdiff
Fix build with poppler <= 0.7.2
authorCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 14 Mar 2008 16:34:49 +0000 (16:34 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Fri, 14 Mar 2008 16:34:49 +0000 (16:34 +0000)
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

svn path=/trunk/; revision=2967

ChangeLog
backend/pdf/ev-poppler.cc

index 436e9c86b924c10a8d02117239d27e5e7ef9bc06..68bcbd18ad31121751f4945bb97f0ec100703dd6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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:
index f50407fc091e3f6f76e1ce0b20d399e71de32281..e44a76958f1968d59d3bc2d5c337ab3258b108ff 100644 (file)
@@ -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;