Mercurial > vim
comparison src/gui.c @ 3772:fb7c028dcac7 v7.3.644
updated for version 7.3.644
Problem: Dead code for BeOS GUI.
Solution: Remove unused __BEOS__ stuff.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 29 Aug 2012 16:34:27 +0200 |
parents | b9aa7fb4a928 |
children | 6a76846b84eb |
comparison
equal
deleted
inserted
replaced
3771:3b0a7ceb7955 | 3772:fb7c028dcac7 |
---|---|
35 static void gui_update_horiz_scrollbar __ARGS((int)); | 35 static void gui_update_horiz_scrollbar __ARGS((int)); |
36 static void gui_set_fg_color __ARGS((char_u *name)); | 36 static void gui_set_fg_color __ARGS((char_u *name)); |
37 static void gui_set_bg_color __ARGS((char_u *name)); | 37 static void gui_set_bg_color __ARGS((char_u *name)); |
38 static win_T *xy2win __ARGS((int x, int y)); | 38 static win_T *xy2win __ARGS((int x, int y)); |
39 | 39 |
40 #if defined(UNIX) && !defined(__BEOS__) && !defined(MACOS_X) \ | 40 #if defined(UNIX) && !defined(MACOS_X) && !defined(__APPLE__) |
41 && !defined(__APPLE__) | |
42 # define MAY_FORK | 41 # define MAY_FORK |
43 static void gui_do_fork __ARGS((void)); | 42 static void gui_do_fork __ARGS((void)); |
44 | 43 |
45 static int gui_read_child_pipe __ARGS((int fd)); | 44 static int gui_read_child_pipe __ARGS((int fd)); |
46 | 45 |
782 | 781 |
783 void | 782 void |
784 gui_exit(rc) | 783 gui_exit(rc) |
785 int rc; | 784 int rc; |
786 { | 785 { |
787 #ifndef __BEOS__ | |
788 /* don't free the fonts, it leads to a BUS error | 786 /* don't free the fonts, it leads to a BUS error |
789 * richard@whitequeen.com Jul 99 */ | 787 * richard@whitequeen.com Jul 99 */ |
790 free_highlight_fonts(); | 788 free_highlight_fonts(); |
791 #endif | |
792 gui.in_use = FALSE; | 789 gui.in_use = FALSE; |
793 gui_mch_exit(rc); | 790 gui_mch_exit(rc); |
794 } | 791 } |
795 | 792 |
796 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(FEAT_GUI_MSWIN) \ | 793 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(FEAT_GUI_MSWIN) \ |