diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-17 15:45:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-17 15:45:25 +0100 |
commit | bb1969b6ab28120c93b77817e7b6075e1aecf663 (patch) | |
tree | aaf6408f1b42e6edae706eaa69b009138c14ad74 /src/gui.c | |
parent | e40742526e6ea272c64ca393d7364e4023f4122c (diff) |
patch 8.1.0763: nobody is using the Sun Workshop supportv8.1.0763
Problem: Nobody is using the Sun Workshop support.
Solution: Remove the Workshop support.
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 21 |
1 files changed, 3 insertions, 18 deletions
@@ -672,10 +672,6 @@ gui_init(void) #ifdef FEAT_MENU gui_create_initial_menus(root_menu); #endif -#ifdef FEAT_SUN_WORKSHOP - if (usingSunWorkShop) - workshop_init(); -#endif #ifdef FEAT_SIGN_ICONS sign_gui_started(); #endif @@ -1604,19 +1600,8 @@ gui_set_shellsize( /* Remember the original window position. */ (void)gui_mch_get_winpos(&x, &y); -#ifdef USE_SUN_WORKSHOP - if (!mustset && usingSunWorkShop - && workshop_get_width_height(&width, &height)) - { - Columns = (width - base_width + gui.char_width - 1) / gui.char_width; - Rows = (height - base_height + gui.char_height - 1) / gui.char_height; - } - else -#endif - { - width = Columns * gui.char_width + base_width; - height = Rows * gui.char_height + base_height; - } + width = Columns * gui.char_width + base_width; + height = Rows * gui.char_height + base_height; if (fit_to_display) { @@ -5128,7 +5113,7 @@ no_console_input(void) } #endif -#if defined(FIND_REPLACE_DIALOG) || defined(FEAT_SUN_WORKSHOP) \ +#if defined(FIND_REPLACE_DIALOG) \ || defined(NEED_GUI_UPDATE_SCREEN) \ || defined(PROTO) /* |