]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gtk-webcore/files/gdk-colorspace.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gtk-webcore / files / gdk-colorspace.diff
1 Index: src/ImageRenderer.cpp
2 ===================================================================
3 RCS file: /cvsroot/gtk-webcore/NRCit/src/ImageRenderer.cpp,v
4 retrieving revision 1.1.1.1
5 diff -u -r1.1.1.1 ImageRenderer.cpp
6 --- NRCit.orig/src/ImageRenderer.cpp    16 Feb 2005 09:33:16 -0000      1.1.1.1
7 +++ NRCit/src/ImageRenderer.cpp 27 May 2005 23:36:28 -0000
8 @@ -297,7 +297,7 @@
9                                                        wantedSize.height, 
10                                                        GDK_INTERP_BILINEAR);
11  
12 -       gdk_pixbuf_render_pixmap_and_mask(scaledbuf, &pixmap, &alpha, 100);
13 +       gdk_pixbuf_render_pixmap_and_mask_for_colormap(scaledbuf,gdk_colormap_get_system(), &pixmap, &alpha,  100);
14  
15         buf = scaledbuf;
16         if (iter) {
17 @@ -312,7 +312,7 @@
18      } else {
19  
20         //correct size
21 -       gdk_pixbuf_render_pixmap_and_mask(buf, &pixmap, &alpha, 100);
22 +       gdk_pixbuf_render_pixmap_and_mask_for_colormap(buf, gdk_colormap_get_system(),&pixmap, &alpha,  100);
23      }
24  
25      assert(gdk_pixbuf_get_has_alpha(buf) == (alpha != NULL));