aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorDmitry Antipov2013-10-29 09:55:25 +0400
committerDmitry Antipov2013-10-29 09:55:25 +0400
commit0085b9be229be7369300f4f4ab27a9699db641b4 (patch)
treec9f11e1b06eaa030b0a0ebacbaf38f5eef6c5d77 /src/dispextern.h
parentb9bef71fd33a3789b2a67a19745f6bbf8f4aff6e (diff)
downloademacs-0085b9be229be7369300f4f4ab27a9699db641b4.tar.gz
emacs-0085b9be229be7369300f4f4ab27a9699db641b4.zip
* 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/dispextern.h')
-rw-r--r--src/dispextern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index e61347ebf91..0d225e9616f 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -3328,6 +3328,7 @@ void ignore_sigio (void);
3328/* Defined in xfaces.c */ 3328/* Defined in xfaces.c */
3329 3329
3330#ifdef HAVE_X_WINDOWS 3330#ifdef HAVE_X_WINDOWS
3331void unload_color (struct frame *, unsigned long);
3331void x_free_colors (struct frame *, unsigned long *, int); 3332void x_free_colors (struct frame *, unsigned long *, int);
3332#endif 3333#endif
3333 3334
@@ -3339,7 +3340,6 @@ void clear_face_cache (int);
3339unsigned long load_color (struct frame *, struct face *, Lisp_Object, 3340unsigned long load_color (struct frame *, struct face *, Lisp_Object,
3340 enum lface_attribute_index); 3341 enum lface_attribute_index);
3341#endif 3342#endif
3342void unload_color (struct frame *, unsigned long);
3343char *choose_face_font (struct frame *, Lisp_Object *, Lisp_Object, 3343char *choose_face_font (struct frame *, Lisp_Object *, Lisp_Object,
3344 int *); 3344 int *);
3345void prepare_face_for_display (struct frame *, struct face *); 3345void prepare_face_for_display (struct frame *, struct face *);