Mercurial > hg > xemacs-beta
diff src/glyphs-gtk.h @ 2082:16489ca72b3d
[xemacs-hg @ 2004-05-15 07:43:05 by malcolmp]
Improvements to the rendering of GTK glyph backgrounds.
author | malcolmp |
---|---|
date | Sat, 15 May 2004 07:43:09 +0000 |
parents | 0784d089fdc9 |
children | dbd2a866e38a |
line wrap: on
line diff
--- a/src/glyphs-gtk.h Sat May 15 07:31:49 2004 +0000 +++ b/src/glyphs-gtk.h Sat May 15 07:43:09 2004 +0000 @@ -40,7 +40,6 @@ struct gtk_image_instance_data { GdkPixmap **pixmaps; - GdkPixmap *mask; GdkCursor *cursor; /* If depth>0, then that means that other colors were allocated when @@ -87,7 +86,7 @@ (GTK_IMAGE_INSTANCE_DATA (i)->pixmaps[slice]) #define IMAGE_INSTANCE_GTK_PIXMAP_SLICES(i) \ (GTK_IMAGE_INSTANCE_DATA (i)->pixmaps) -#define IMAGE_INSTANCE_GTK_MASK(i) (GTK_IMAGE_INSTANCE_DATA (i)->mask) +#define IMAGE_INSTANCE_GTK_MASK(i) (GdkPixmap*)(IMAGE_INSTANCE_PIXMAP_MASK (i)) #define IMAGE_INSTANCE_GTK_CURSOR(i) (GTK_IMAGE_INSTANCE_DATA (i)->cursor) #define IMAGE_INSTANCE_GTK_COLORMAP(i) (GTK_IMAGE_INSTANCE_DATA (i)->colormap) #define IMAGE_INSTANCE_GTK_PIXELS(i) (GTK_IMAGE_INSTANCE_DATA (i)->pixels)