summaryrefslogtreecommitdiffstats
path: root/src/gui_motif.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-12 12:21:28 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-12 12:21:28 +0000
commit5b4f8a0e8476d57ee8a48e45171d19c1d2b4154e (patch)
treeed38d2c805158fd9985497b4e9eac89fdb8999b4 /src/gui_motif.c
parente2adcf397421d47440d135a97765e1dbe7f824fe (diff)
patch 8.2.4550: Motif: cannot set the color of the scrollbar thumbv8.2.4550
Problem: Motif: cannot set the color of the scrollbar thumb. Solution: Remove #ifdef.
Diffstat (limited to 'src/gui_motif.c')
-rw-r--r--src/gui_motif.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c
index ef3747d8d2..564c0bb074 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -1906,9 +1906,7 @@ gui_mch_set_scrollbar_colors(scrollbar_T *sb)
if (gui.scroll_fg_pixel != INVALCOLOR)
XtVaSetValues(sb->id,
XmNforeground, gui.scroll_fg_pixel,
-#if (XmVersion<1002)
XmNbackground, gui.scroll_fg_pixel,
-#endif
NULL);
}