diff options
author | Martin Rudalics <rudalics@gmx.at> | 2015-03-25 11:17:30 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2015-03-25 11:17:30 +0100 |
commit | 13cf575c1d32bbe7cf42e017bce2e8cdc30a2946 (patch) | |
tree | fc9dd13e250a392d975a2c1a1755495378c3571d /src/gtkutil.c | |
parent | 921dd0de45b955577f39de5f7aab923dab1ff063 (diff) | |
download | emacs-13cf575c1d32bbe7cf42e017bce2e8cdc30a2946.tar.gz |
Don't round up scroll bar width with GTK3 (Bug#20182).
* gtkutil.c (update_theme_scrollbar_width): Don't round up
scroll bar width with GTK3 (Bug#20182).
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r-- | src/gtkutil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index b23d84c8b82..fedaa0f3a2d 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -3570,7 +3570,9 @@ update_theme_scrollbar_width (void) gtk_widget_destroy (wscroll); g_object_unref (G_OBJECT (wscroll)); w += 2*b; +#ifndef HAVE_GTK3 if (w < 16) w = 16; +#endif scroll_bar_width_for_theme = w; } |