mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0763: nobody is using the Sun Workshop support
Problem: Nobody is using the Sun Workshop support. Solution: Remove the Workshop support.
This commit is contained in:
21
src/gui.c
21
src/gui.c
@@ -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)
|
||||
/*
|
||||
|
Reference in New Issue
Block a user