summaryrefslogtreecommitdiff
path: root/src/w32term.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/w32term.h
parentb9bef71fd33a3789b2a67a19745f6bbf8f4aff6e (diff)
* 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/w32term.h')
-rw-r--r--src/w32term.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/w32term.h b/src/w32term.h
index 956e03d336..b3c0cf56c7 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -376,7 +376,6 @@ struct w32_output
{
XGCValues *gc;
unsigned long pixel;
- int allocated_p;
}
black_relief, white_relief;