changeset 3316:9857db8aa4cd

* 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.
author Jim Blandy <jimb@redhat.com>
date Sun, 30 May 1993 20:34:54 +0000
parents dcc64ab7de8c
children 55066d2375b6
files src/xfaces.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Sun May 30 20:16:09 1993 +0000
+++ b/src/xfaces.c	Sun May 30 20:34:54 1993 +0000
@@ -40,10 +40,14 @@
 #define __TIMEVAL__
 #endif
 
+/* These don't seem to be used.  */
+#if 0
 /* Display Context for the icons */ 
 #include <X11/Intrinsic.h>
 #include <X11/StringDefs.h>
-/* #include <X11/Xmu/Drawing.h> */  /* Appears not to be used */
+#include <X11/Xmu/Drawing.h>
+#endif
+
 #include <X11/Xos.h>
 
 
@@ -428,7 +432,7 @@
 static void
 unload_color (f, pixel)
      struct frame *f;
-     Pixel pixel;
+     unsigned long pixel;
 {
   /* Since faces get built by copying parameters from other faces, the
      allocation counts for the colors get all screwed up.  I don't see