From c6e9d03b5deb4689e600f165f9497cae147dedd5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 3 Sep 1999 12:43:28 +0000 Subject: [PATCH] (x_set_scroll_bar_width): Change conditional compilation to USE_TOOLKIT_SCROLL_BARS. --- src/xfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xfns.c b/src/xfns.c index b258eecf96a..dbb7dae53b6 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2270,8 +2270,8 @@ x_set_scroll_bar_width (f, arg, oldval) 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; -- 2.39.5