summaryrefslogtreecommitdiff
path: root/src/gui.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-03 18:02:37 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-03 18:02:37 +0100
commit0b962e5685edd41b55d5427b894797e725707639 (patch)
tree0b6bddeb6a2c7da603b71474b87f185dc14a02ea /src/gui.h
parent292e1b9f681054a1de8fa22315ae6eedd7acb205 (diff)
downloadvim-git-0b962e5685edd41b55d5427b894797e725707639.tar.gz
patch 8.2.4677: the Athena GUI support is outdatedv8.2.4677
Problem: The Athena GUI support is outdated. Solution: Remove the Athena GUI code.
Diffstat (limited to 'src/gui.h')
-rw-r--r--src/gui.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/gui.h b/src/gui.h
index 0d503ae58..003609315 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -11,11 +11,6 @@
# include <Xm/Xm.h>
#endif
-#ifdef FEAT_GUI_ATHENA
-# include <X11/Intrinsic.h>
-# include <X11/StringDefs.h>
-#endif
-
#ifdef FEAT_GUI_GTK
# ifdef VMS // undef MIN and MAX because Intrinsic.h redefines them anyway
# ifdef MAX
@@ -36,7 +31,7 @@
// Needed when generating prototypes, since FEAT_GUI is always defined then.
#if defined(FEAT_XCLIPBOARD) && !defined(FEAT_GUI_MOTIF) \
- && !defined(FEAT_GUI_ATHENA) && !defined(FEAT_GUI_GTK)
+ && !defined(FEAT_GUI_GTK)
# include <X11/Intrinsic.h>
#endif
@@ -160,9 +155,6 @@ typedef struct GuiScrollbar
win_T *wp; // Scrollbar's window, NULL for bottom
int type; // one of SBAR_{LEFT,RIGHT,BOTTOM}
long value; // Represents top line number visible
-#ifdef FEAT_GUI_ATHENA
- int pixval; // pixel count of value
-#endif
long size; // Size of scrollbar thumb
long max; // Number of lines in buffer
@@ -277,9 +269,6 @@ typedef struct Gui
int menu_width; // Width of the menu bar
# endif
char menu_is_active; // TRUE if menu is present
-# ifdef FEAT_GUI_ATHENA
- char menu_height_fixed; // TRUE if menu height fixed
-# endif
#endif
scrollbar_T bottom_sbar; // Bottom scrollbar
@@ -418,7 +407,7 @@ typedef struct Gui
#endif
#if defined(FEAT_TOOLBAR) \
- && (defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_HAIKU) || defined(FEAT_GUI_MSWIN))
+ && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_HAIKU) || defined(FEAT_GUI_MSWIN))
int toolbar_height; // height of the toolbar
#endif