summaryrefslogtreecommitdiff
path: root/src/w32term.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-04-05 18:07:02 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-04-05 18:07:02 +0400
commit73931ad14ad7a51d91f10b19ae9ca8cadb256916 (patch)
tree43ac5997fa67fa4824162b85b84104b1056ab5ce /src/w32term.h
parent632556e4feb1121faff0c6fd31ee84f7e13591ec (diff)
Consistently use platform-specific function to detect window system.
* lisp.h (check_window_system): New prototype. This function is going to replace check_x, check_w32 and check_ns. (have_menus_p): Mention msdos.c in comment. * fontset.c (check_window_system_func): Remove. Adjust all users. * fontset.h (check_window_system_func): Remove prototype. * nsterm.h (check_ns): * xterm.h (check_x): * w32term.h (check_w32): Likewise. * menu.c (Fx_popup_menu): Use check_window_system. * msdos.c (check_window_system): Define for MS-DOS. * nsfns.m (check_window_system): Define for NS. Adjust all users. * w32fns.c (check_window_system): Likewise for MS-Windows. * xfns.c (check_window_system): Likewise for X. * font.c, frame.c, nsmenu.m, nsselect.m, nsterm.m, w32menu.c: * xfaces.c, xmenu.c: Use check_window_system where appropriate.
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 b319f0ca59..e85ee7790d 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -203,7 +203,6 @@ extern void x_focus_on_frame (struct frame *f);
extern struct w32_display_info *w32_term_init (Lisp_Object,
char *, char *);
-extern void check_w32 (void);
extern int w32_defined_color (FRAME_PTR f, const char *color,
XColor *color_def, int alloc);
extern void x_set_window_size (struct frame *f, int change_grav,