changeset 25511:9bc9d4d6c716

(x_set_scroll_bar_width): Change conditional compilation to USE_TOOLKIT_SCROLL_BARS.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 03 Sep 1999 12:43:28 +0000
parents d584d75fc3a7
children 8d013f20532c
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Fri Sep 03 01:28:42 1999 +0000
+++ b/src/xfns.c	Fri Sep 03 12:43:28 1999 +0000
@@ -2270,8 +2270,8 @@
 
   if (NILP (arg))
     {
-#ifdef USE_X_TOOLKIT
-      /* A too wide or narrow toolkit scroll bar doesn't look good.  */
+#ifdef USE_TOOLKIT_SCROLL_BARS
+      /* A minimum width of 14 doesn't look good for toolkit scroll bars.  */
       int width = 16 + 2 * VERTICAL_SCROLL_BAR_WIDTH_TRIM;
       FRAME_SCROLL_BAR_COLS (f) = (width + wid - 1) / wid;
       FRAME_SCROLL_BAR_PIXEL_WIDTH (f) = width;