Mercurial > hg > xemacs-beta
diff src/objects-x.h @ 219:262b8bb4a523 r20-4b8
Import from CVS: tag r20-4b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:09:35 +0200 |
parents | 376386a54a3c |
children | 74fd4e045ea6 |
line wrap: on
line diff
--- a/src/objects-x.h Mon Aug 13 10:08:36 2007 +0200 +++ b/src/objects-x.h Mon Aug 13 10:09:35 2007 +0200 @@ -36,12 +36,14 @@ struct x_color_instance_data { XColor color; + char dealloc_on_gc; }; #define X_COLOR_INSTANCE_DATA(c) ((struct x_color_instance_data *) (c)->data) #define COLOR_INSTANCE_X_COLOR(c) (X_COLOR_INSTANCE_DATA (c)->color) +#define COLOR_INSTANCE_X_DEALLOC(c) (X_COLOR_INSTANCE_DATA (c)->dealloc_on_gc) -int allocate_nearest_color (Display *display, Colormap screen_colormap, +int allocate_nearest_color (Display *display, Colormap screen_colormap, Visual *visual, XColor *color_def); int x_parse_nearest_color (struct device *d, XColor *color, Bufbyte *name, Bytecount len, Error_behavior errb);