Mercurial > emacs
diff src/nsgui.h @ 97198:cf43f4e3ecc8
clear warnings and clean up NS port
| author | Adrian Robert <Adrian.B.Robert@gmail.com> |
|---|---|
| date | Fri, 01 Aug 2008 14:01:08 +0000 |
| parents | 4aec559b9f05 |
| children | e038c1a8307c |
line wrap: on
line diff
--- a/src/nsgui.h Fri Aug 01 12:56:49 2008 +0000 +++ b/src/nsgui.h Fri Aug 01 14:01:08 2008 +0000 @@ -75,20 +75,16 @@ #define XCHAR2B_BYTE2(chp) \ ((*chp) & 0x00ff) -#define FACE_DEFAULT (~0) - /* XXX: xfaces requires these structures, but the question is are we forced to use them? */ typedef struct _XGCValues { + unsigned long foreground; + unsigned long background; #ifdef __OBJC__ - NSColor *foreground; - NSColor *background; struct ns_font *font; #else - void *foreground; - void *background; void *font; #endif } XGCValues;
