patch 8.2.4677: the Athena GUI support is outdated
Problem: The Athena GUI support is outdated.
Solution: Remove the Athena GUI code.
diff --git a/src/menu.c b/src/menu.c
index 1c5cc4a..2af54a7 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -609,10 +609,6 @@
#ifdef FEAT_BEVAL_TIP
menu->tip = NULL;
#endif
-#ifdef FEAT_GUI_ATHENA
- menu->image = None; // X-Windows definition for NULL
-#endif
-
/*
* Add after menu that has lower priority.
*/
@@ -2072,10 +2068,7 @@
grey = FALSE;
else
grey = TRUE;
-# ifdef FEAT_GUI_ATHENA
- // Hiding menus doesn't work for Athena, it can cause a crash.
- gui_mch_menu_grey(menu, grey);
-# else
+
// Never hide a toplevel menu, it may make the menubar resize or
// disappear. Same problem for ToolBar items.
if (vim_strchr(p_go, GO_GREY) != NULL || menu->parent == NULL
@@ -2086,7 +2079,6 @@
gui_mch_menu_grey(menu, grey);
else
gui_mch_menu_hidden(menu, grey);
-# endif
gui_update_menus_recurse(menu->children, mode);
menu = menu->next;
}