]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove definition of XColor.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 23 Oct 2002 16:55:33 +0000 (16:55 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 23 Oct 2002 16:55:33 +0000 (16:55 +0000)
src/ChangeLog
src/macfns.c
src/w32fns.c
src/xfaces.c

index 65746254999a638d81cc640e0d1a4186dc97af98..fc1ec8c25656a957fd2dc22f5ab5361d19d5eb2c 100644 (file)
@@ -1,3 +1,17 @@
+2002-10-23  Juanma Barranquero  <lektu@terra.es>
+
+       Patch suggested by Jay Finger <jay_finger@hotmail.com>.
+
+       * w32term.c (w32_term_init): Pass XColor to w32_define_color, not
+       COLORREF.
+
+       * macgui.h:
+       * w32gui.h: Add definition of XColor.
+
+       * macfns.c:
+       * w32fns.c:
+       * xfaces.c: Remove definition of XColor.
+
 2002-10-21  Stefan Monnier  <monnier@cs.yale.edu>
 
        * casefiddle.c (casify_region): Don't treat a prefix char as part
index 44bbb3130e2abb5b20033c7bc8eb71af6defa819..e2fe2969dfb6a84a81a1230598fea6dbc33140b8 100644 (file)
@@ -99,16 +99,6 @@ extern double atof ();
 extern int w32_console_toggle_lock_key (int vk_code, Lisp_Object new_state);
 extern int quit_char;*/
 
-/* A definition of XColor for non-X frames.  */
-#ifndef HAVE_X_WINDOWS
-typedef struct {
-  unsigned long pixel;
-  unsigned short red, green, blue;
-  char flags;
-  char pad;
-} XColor;
-#endif
-
 extern char *lispy_function_keys[];
 
 /* The gray bitmap `bitmaps/gray'.  This is done because macterm.c uses
index f4dd0421694c029c9af5ce5fe206b2045e3f849e..bfdf34b15cee0c77caf413d37c64580aa0f0f868 100644 (file)
@@ -64,16 +64,6 @@ extern void w32_free_menu_strings P_ ((HWND));
 
 extern int quit_char;
 
-/* A definition of XColor for non-X frames.  */
-#ifndef HAVE_X_WINDOWS
-typedef struct {
-  unsigned long pixel;
-  unsigned short red, green, blue;
-  char flags;
-  char pad;
-} XColor;
-#endif
-
 extern char *lispy_function_keys[];
 
 /* The gray bitmap `bitmaps/gray'.  This is done because w32term.c uses
index d5ddd6b40de70efc756ce31f27748b161f5ba609..e66bc16192aa385d206157163d3c8fda9f268de5 100644 (file)
@@ -297,21 +297,6 @@ Boston, MA 02111-1307, USA.  */
 
 #define FACE_CACHE_BUCKETS_SIZE 1001
 
-/* A definition of XColor for non-X frames.  */
-
-#ifndef HAVE_X_WINDOWS
-
-typedef struct
-{
-  unsigned long pixel;
-  unsigned short red, green, blue;
-  char flags;
-  char pad;
-}
-XColor;
-
-#endif /* not HAVE_X_WINDOWS */
-
 /* Keyword symbols used for face attribute names.  */
 
 Lisp_Object QCfamily, QCheight, QCweight, QCslant, QCunderline;