summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/cairo-qt-compile.patch
blob: f839c7988f843cbe5615ab7d60c0561fd9600467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# HG changeset patch
# Parent 2563fa2763b0ea83394e785340afa4c564ceab57
diff -r 2563fa2763b0 -r 9ab15e95a354 gfx/cairo/cairo/src/cairo-qt-surface.cpp
--- a/gfx/cairo/cairo/src/cairo-qt-surface.cpp	Thu Apr 29 06:55:11 2010 +0300
+++ b/gfx/cairo/cairo/src/cairo-qt-surface.cpp	Thu Apr 29 06:55:51 2010 +0300
@@ -204,6 +204,7 @@
     case CAIRO_OPERATOR_HSL_LUMINOSITY:
 	ASSERT_NOT_REACHED;
     }
+    return QPainter::CompositionMode_Source;
 }
 
 static bool
@@ -668,7 +669,6 @@
 static cairo_status_t
 _cairo_qt_surface_clone_similar (void *abstract_surface,
 				 cairo_surface_t *src,
-				 cairo_content_t  content,
 				 int              src_x,
 				 int              src_y,
 				 int              width,