r15027 by jghali - fix compiler error when compiling with official cairo

scribus-commit scribus-commit at lists.scribus.net
Sat May 1 16:20:20 CEST 2010


Revision: 15027
Author: jghali
Date: 2010-05-01T14:13:25.989155Z
Commit message: fix compiler error when compiling with official cairo

Changeset: 
M  /trunk/Scribus/scribus/scpainter.cpp

Diffs:
Index: scribus/scpainter.cpp
===================================================================
--- scribus/scpainter.cpp	(revision 15026)
+++ scribus/scpainter.cpp	(revision 15027)
@@ -1345,10 +1345,10 @@
 		else if (fillMode == 2)
 		{
 			cairo_pattern_t *pat;
+			cairo_surface_t *img;
+			cairo_t *cr;
 #ifdef HAVE_PRIVATE_CAIRO
-			cairo_surface_t *img;
 			cairo_pattern_t *mpat;
-			cairo_t *cr;
 #endif
 			if (fill_gradient.type() == VGradient::fourcolor)
 			{




More information about the scribus-commit mailing list