diff src/glyphs-gtk.h @ 3087:dbd2a866e38a

[xemacs-hg @ 2005-11-22 11:24:40 by malcolmp] Fix compilation errors and warnings in GTK code that have appeared over the last few months.
author malcolmp
date Tue, 22 Nov 2005 11:24:45 +0000
parents 16489ca72b3d
children b3ce27ca7647
line wrap: on
line diff
--- a/src/glyphs-gtk.h	Tue Nov 22 10:36:39 2005 +0000
+++ b/src/glyphs-gtk.h	Tue Nov 22 11:24:45 2005 +0000
@@ -86,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) (GdkPixmap*)(IMAGE_INSTANCE_PIXMAP_MASK (i))
+#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)