aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsgui.h
diff options
context:
space:
mode:
authorAdrian Robert2008-08-01 14:01:08 +0000
committerAdrian Robert2008-08-01 14:01:08 +0000
commit150349607cf648e78d34aa16ef1d43d774bc6044 (patch)
tree7d57cf5f3e5163c7ea3019b9527409df771efe42 /src/nsgui.h
parent27ec92c98304e2b61dc20a1db65972b0eb00d4cc (diff)
downloademacs-150349607cf648e78d34aa16ef1d43d774bc6044.tar.gz
emacs-150349607cf648e78d34aa16ef1d43d774bc6044.zip
clear warnings and clean up NS port
Diffstat (limited to 'src/nsgui.h')
-rw-r--r--src/nsgui.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nsgui.h b/src/nsgui.h
index 54e336fdf3d..f8d3ae4a3a8 100644
--- a/src/nsgui.h
+++ b/src/nsgui.h
@@ -75,20 +75,16 @@ typedef unichar XChar2b;
75#define XCHAR2B_BYTE2(chp) \ 75#define XCHAR2B_BYTE2(chp) \
76 ((*chp) & 0x00ff) 76 ((*chp) & 0x00ff)
77 77
78#define FACE_DEFAULT (~0)
79
80 78
81/* XXX: xfaces requires these structures, but the question is are we 79/* XXX: xfaces requires these structures, but the question is are we
82 forced to use them? */ 80 forced to use them? */
83typedef struct _XGCValues 81typedef struct _XGCValues
84{ 82{
83 unsigned long foreground;
84 unsigned long background;
85#ifdef __OBJC__ 85#ifdef __OBJC__
86 NSColor *foreground;
87 NSColor *background;
88 struct ns_font *font; 86 struct ns_font *font;
89#else 87#else
90 void *foreground;
91 void *background;
92 void *font; 88 void *font;
93#endif 89#endif
94} XGCValues; 90} XGCValues;