summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-04 12:29:28 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-04 12:29:28 +0100
commitc8ac3a072f18d4b250e55e91f610fe517e218777 (patch)
tree4f6e5b2dc9b0abfb611325cc664b799638c7b4fd /src/gui.c
parent3c7707680fea0881fe96c75f962af01edf810d5d (diff)
downloadvim-git-c8ac3a072f18d4b250e55e91f610fe517e218777.tar.gz
patch 9.0.0375: the footer feature is unusedv9.0.0375
Problem: The footer feature is unused. Solution: Remove FEAT_FOOTER and code.
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/gui.c b/src/gui.c
index e1bc73f78..9c78dacb1 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -445,9 +445,6 @@ gui_init_check(void)
#if defined(FEAT_TOOLBAR) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_HAIKU))
gui.toolbar_height = 0;
#endif
-#if defined(FEAT_FOOTER) && defined(FEAT_GUI_MOTIF)
- gui.footer_height = 0;
-#endif
#ifdef FEAT_BEVAL_TIP
gui.tooltip_fontset = NOFONTSET;
#endif
@@ -1530,10 +1527,6 @@ gui_get_base_height(void)
if (gui_has_tabline())
base_height += gui.tabline_height;
# endif
-# ifdef FEAT_FOOTER
- if (vim_strchr(p_go, GO_FOOTER) != NULL)
- base_height += gui.footer_height;
-# endif
# if defined(FEAT_GUI_MOTIF) && defined(FEAT_MENU)
base_height += gui_mch_text_area_extra_height();
# endif
@@ -3479,10 +3472,6 @@ gui_init_which_components(char_u *oldval UNUSED)
#ifdef FEAT_GUI_TABLINE
int using_tabline;
#endif
-#ifdef FEAT_FOOTER
- static int prev_footer = -1;
- int using_footer = FALSE;
-#endif
#if defined(FEAT_MENU)
static int prev_tearoff = -1;
int using_tearoff = FALSE;
@@ -3557,11 +3546,6 @@ gui_init_which_components(char_u *oldval UNUSED)
using_toolbar = TRUE;
break;
#endif
-#ifdef FEAT_FOOTER
- case GO_FOOTER:
- using_footer = TRUE;
- break;
-#endif
case GO_TEAROFF:
#if defined(FEAT_MENU)
using_tearoff = TRUE;
@@ -3661,16 +3645,6 @@ gui_init_which_components(char_u *oldval UNUSED)
fix_size = TRUE;
}
#endif
-#ifdef FEAT_FOOTER
- if (using_footer != prev_footer)
- {
- gui_mch_enable_footer(using_footer);
- prev_footer = using_footer;
- need_set_size |= RESIZE_VERT;
- if (using_footer)
- fix_size = TRUE;
- }
-#endif
#if defined(FEAT_MENU) && !(defined(MSWIN) && !defined(FEAT_TEAROFF))
if (using_tearoff != prev_tearoff)
{