diff options
| author | Juanma Barranquero | 2002-10-25 06:50:01 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-10-25 06:50:01 +0000 |
| commit | 68c7e82a0e5a12f599394eca897130873e44fcef (patch) | |
| tree | 29b0aa3488c14117bf9a282e2bf06bc4ec81dda6 /src | |
| parent | 94e32607840a58fe56afa80801915607bf168125 (diff) | |
| download | emacs-68c7e82a0e5a12f599394eca897130873e44fcef.tar.gz emacs-68c7e82a0e5a12f599394eca897130873e44fcef.zip | |
Remove definition of XColor.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/macgui.h | 10 | ||||
| -rw-r--r-- | src/w32gui.h | 10 |
3 files changed, 8 insertions, 21 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b7bf38954e2..d66250c18ee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,10 +1,17 @@ | |||
| 1 | 2002-10-25 Juanma Barranquero <lektu@terra.es> | ||
| 2 | |||
| 3 | * macgui.h: | ||
| 4 | * w32gui.h: Remove definition of XColor. | ||
| 5 | |||
| 6 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | ||
| 7 | |||
| 1 | 2002-10-24 Kim F. Storm <storm@cua.dk> | 8 | 2002-10-24 Kim F. Storm <storm@cua.dk> |
| 2 | 9 | ||
| 3 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | 10 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. |
| 4 | Callers changed (supply dummy arg). | 11 | Callers changed (supply dummy arg). |
| 5 | 12 | ||
| 6 | * lisp.h (get_window_cursor_type): Update prototype. | 13 | * lisp.h (get_window_cursor_type): Update prototype. |
| 7 | 14 | ||
| 8 | * w32term.c (x_display_and_set_cursor): Get active_cursor from | 15 | * w32term.c (x_display_and_set_cursor): Get active_cursor from |
| 9 | get_window_cursor_type to track system caret. | 16 | get_window_cursor_type to track system caret. |
| 10 | 17 | ||
diff --git a/src/macgui.h b/src/macgui.h index 87c8cc48f04..a6ad18fddcf 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -37,16 +37,6 @@ typedef struct OpaqueWindowPtr* Window; | |||
| 37 | typedef WindowPtr Window; | 37 | typedef WindowPtr Window; |
| 38 | #endif | 38 | #endif |
| 39 | 39 | ||
| 40 | /* A definition of XColor for non-X frames. */ | ||
| 41 | #ifndef HAVE_X_WINDOWS | ||
| 42 | typedef struct { | ||
| 43 | unsigned long pixel; | ||
| 44 | unsigned short red, green, blue; | ||
| 45 | char flags; | ||
| 46 | char pad; | ||
| 47 | } XColor; | ||
| 48 | #endif | ||
| 49 | |||
| 50 | #define FACE_DEFAULT (~0) | 40 | #define FACE_DEFAULT (~0) |
| 51 | 41 | ||
| 52 | 42 | ||
diff --git a/src/w32gui.h b/src/w32gui.h index 4121639fbf6..9f59290027c 100644 --- a/src/w32gui.h +++ b/src/w32gui.h | |||
| @@ -86,16 +86,6 @@ typedef struct _XImage | |||
| 86 | /* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */ | 86 | /* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */ |
| 87 | } XImage; | 87 | } XImage; |
| 88 | 88 | ||
| 89 | /* A definition of XColor for non-X frames. */ | ||
| 90 | #ifndef HAVE_X_WINDOWS | ||
| 91 | typedef struct { | ||
| 92 | unsigned long pixel; | ||
| 93 | unsigned short red, green, blue; | ||
| 94 | char flags; | ||
| 95 | char pad; | ||
| 96 | } XColor; | ||
| 97 | #endif | ||
| 98 | |||
| 99 | #define FACE_DEFAULT (~0) | 89 | #define FACE_DEFAULT (~0) |
| 100 | 90 | ||
| 101 | extern HINSTANCE hinst; | 91 | extern HINSTANCE hinst; |