1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

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).
This commit is contained in:
Martin Rudalics 2015-03-25 11:17:30 +01:00
parent 921dd0de45
commit 13cf575c1d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-03-25 Martin Rudalics <rudalics@gmx.at>
* gtkutil.c (update_theme_scrollbar_width): Don't round up
scroll bar width with GTK3 (Bug#20182).
2015-03-22 John F Carr <jfc@mit.edu> (tiny change)
* fontset.c (fontset_pattern_regexp): Backport: Replace + 1 with

View File

@ -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;
}