Commit e99833ca authored by Juanma Barranquero's avatar Juanma Barranquero

Remove definition of XColor.

parent b9c3f7eb
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
......
......@@ -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
......
......@@ -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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment