aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-05-30 20:34:54 +0000
committerJim Blandy1993-05-30 20:34:54 +0000
commit7a4d2269a76ed16fdd09bcf02432533b464b5308 (patch)
treec883dddca96b8898eb33af2d20c2cf0633b5d1b0
parent15924ff722cd85b073f5641fbad310779ec68bb7 (diff)
downloademacs-7a4d2269a76ed16fdd09bcf02432533b464b5308.tar.gz
emacs-7a4d2269a76ed16fdd09bcf02432533b464b5308.zip
* xfaces.c (unload_color): Don't #include <X11/Intrinsic.h>,
<X11/StringDefs.h>, or <X11/Xmu/Drawing.h>. Just write out "unsigned long" instead of using the "Pixel" typedef; it's in the protocol, so it's not likely to change.
-rw-r--r--src/xfaces.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 92679312b24..c07bf035f5b 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -40,10 +40,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
40#define __TIMEVAL__ 40#define __TIMEVAL__
41#endif 41#endif
42 42
43/* These don't seem to be used. */
44#if 0
43/* Display Context for the icons */ 45/* Display Context for the icons */
44#include <X11/Intrinsic.h> 46#include <X11/Intrinsic.h>
45#include <X11/StringDefs.h> 47#include <X11/StringDefs.h>
46/* #include <X11/Xmu/Drawing.h> */ /* Appears not to be used */ 48#include <X11/Xmu/Drawing.h>
49#endif
50
47#include <X11/Xos.h> 51#include <X11/Xos.h>
48 52
49 53
@@ -428,7 +432,7 @@ load_color (f, name)
428static void 432static void
429unload_color (f, pixel) 433unload_color (f, pixel)
430 struct frame *f; 434 struct frame *f;
431 Pixel pixel; 435 unsigned long pixel;
432{ 436{
433 /* Since faces get built by copying parameters from other faces, the 437 /* Since faces get built by copying parameters from other faces, the
434 allocation counts for the colors get all screwed up. I don't see 438 allocation counts for the colors get all screwed up. I don't see