summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-10-29 09:55:25 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-10-29 09:55:25 +0400
commit0085b9be229be7369300f4f4ab27a9699db641b4 (patch)
treec9f11e1b06eaa030b0a0ebacbaf38f5eef6c5d77 /src/xterm.h
parentb9bef71fd33a3789b2a67a19745f6bbf8f4aff6e (diff)
downloademacs-0085b9be229be7369300f4f4ab27a9699db641b4.tar.gz
* xterm.h (struct x_output): For 'black_relief' and 'white_relief'
fields, drop 'allocated_p' member and use -1 for uninitialized value. * w32term.h (struct w32_output): Similarly but do not use -1 because... * xfaces.c (unload_color) [HAVE_X_WINDOWS]: ...this function is a no-op on MS-Windows anyway. (free_face_colors): Define only if HAVE_X_WINDOWS and... (free_realized_face): ...adjust user. * xfns.c (Fx_create_frame, x_create_tip_frame): Initialize black and white relief pixels to -1. * xterm.c (x_setup_relief_color, x_free_frame_resources): Adjust users. * w32term.c (w32_setup_relief_color, x_free_frame_resources): Likewise. * dispextern.h (unload_color): Move prototype under HAVE_X_WINDOWS.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 06c0d4882b8..753debff1bb 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -605,7 +605,6 @@ struct x_output
{
GC gc;
unsigned long pixel;
- int allocated_p;
}
black_relief, white_relief;