summaryrefslogtreecommitdiffstats
path: root/recipes/gtk-webcore/files/gdk-colorspace.diff
blob: f225bc937d7b45443ab49d2319d5ec7333e55db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: src/ImageRenderer.cpp
===================================================================
RCS file: /cvsroot/gtk-webcore/NRCit/src/ImageRenderer.cpp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ImageRenderer.cpp
--- NRCit.orig/src/ImageRenderer.cpp	16 Feb 2005 09:33:16 -0000	1.1.1.1
+++ NRCit/src/ImageRenderer.cpp	27 May 2005 23:36:28 -0000
@@ -297,7 +297,7 @@
 						       wantedSize.height, 
 						       GDK_INTERP_BILINEAR);
 
-	gdk_pixbuf_render_pixmap_and_mask(scaledbuf, &pixmap, &alpha, 100);
+	gdk_pixbuf_render_pixmap_and_mask_for_colormap(scaledbuf,gdk_colormap_get_system(), &pixmap, &alpha,  100);
 
 	buf = scaledbuf;
 	if (iter) {
@@ -312,7 +312,7 @@
     } else {
 
 	//correct size
-	gdk_pixbuf_render_pixmap_and_mask(buf, &pixmap, &alpha, 100);
+	gdk_pixbuf_render_pixmap_and_mask_for_colormap(buf, gdk_colormap_get_system(),&pixmap, &alpha,  100);
     }
 
     assert(gdk_pixbuf_get_has_alpha(buf) == (alpha != NULL));