RECOMMEND 21.4
Stephen J. Turnbull writes:
The real problem is that the code hasn't been updated in quite a
while, and GCC has gotten pickier in the meantime. You could update
to current Mercurial head, or for now try applying this patch:
Vladimir Ivanovic points out that these are needed in 21.4, too. I
copy the ChangeLog from 21.5:
2008-03-05 Dominique Quatravaux <domq(a)cpan.org>
* glyphs-gtk.c (init_image_instance_from_gdk_image):
(gtk_colorize_image_instance):
Use IMAGE_INSTANCE_PIXMAP_MASK (an lvalue), not
IMAGE_INSTANCE_GTK_MASK (an rvalue).
diff -r 1af222c75869 src/glyphs-gtk.c
--- a/src/glyphs-gtk.c Mon May 21 05:02:43 2007 +0000
+++ b/src/glyphs-gtk.c Wed Oct 01 01:47:14 2008 +0900
@@ -796,7 +796,7 @@
find_keyword_in_vector (instantiator, Q_file);
IMAGE_INSTANCE_GTK_PIXMAP (ii) = pixmap;
- IMAGE_INSTANCE_GTK_MASK (ii) = 0;
+ IMAGE_INSTANCE_PIXMAP_MASK (ii) = 0;
IMAGE_INSTANCE_PIXMAP_WIDTH (ii) = gdk_image->width;
IMAGE_INSTANCE_PIXMAP_HEIGHT (ii) = gdk_image->height;
IMAGE_INSTANCE_PIXMAP_DEPTH (ii) = gdk_image->depth;
@@ -2972,7 +2972,7 @@
IMAGE_INSTANCE_TYPE (p) = IMAGE_COLOR_PIXMAP;
/* Make sure there aren't two pointers to the same mask, causing
it to get freed twice. */
- IMAGE_INSTANCE_GTK_MASK (p) = 0;
+ IMAGE_INSTANCE_PIXMAP_MASK (p) = 0;
break;
default:
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches