aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/menu.c')
-rw-r--r--src/nvim/menu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/menu.c b/src/nvim/menu.c
index f71c1a351d..0f86a65bb5 100644
--- a/src/nvim/menu.c
+++ b/src/nvim/menu.c
@@ -1274,8 +1274,6 @@ static int menu_is_hidden(char_u *name)
return (name[0] == ']') || (menu_is_popup(name) && name[5] != NUL);
}
-#if defined(FEAT_CMDL_COMPL) \
- || (defined(FEAT_GUI_W32) && defined(FEAT_TEAROFF))
/*
* Return TRUE if the menu is the tearoff menu.
*/
@@ -1283,7 +1281,6 @@ static int menu_is_tearoff(char_u *name)
{
return FALSE;
}
-#endif
@@ -1398,7 +1395,7 @@ void ex_emenu(exarg_T *eap)
}
#if defined(FEAT_GUI_MSWIN) \
- || (defined(FEAT_GUI_GTK) && defined(FEAT_MENU)) \
+ || defined(FEAT_GUI_GTK) \
|| defined(FEAT_BEVAL_TIP) || defined(PROTO)
/*
* Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy.