summaryrefslogtreecommitdiff
path: root/src/fontset.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/fontset.h
parent632556e4feb1121faff0c6fd31ee84f7e13591ec (diff)
downloademacs-73931ad14ad7a51d91f10b19ae9ca8cadb256916.tar.gz
emacs-73931ad14ad7a51d91f10b19ae9ca8cadb256916.tar.bz2
emacs-73931ad14ad7a51d91f10b19ae9ca8cadb256916.zip
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/fontset.h')
-rw-r--r--src/fontset.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fontset.h b/src/fontset.h
index 07ee5d65c25..926520c8001 100644
--- a/src/fontset.h
+++ b/src/fontset.h
@@ -26,9 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#ifndef EMACS_FONTSET_H
#define EMACS_FONTSET_H
-/* Check if any window system is used now. */
-extern void (*check_window_system_func) (void);
-
struct face;
extern void free_face_fontset (FRAME_PTR, struct face *);