[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 13cf575: Don't round up scroll bar width with GTK
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] emacs-24 13cf575: Don't round up scroll bar width with GTK3 (Bug#20182). |
Date: |
Wed, 25 Mar 2015 10:18:23 +0000 |
branch: emacs-24
commit 13cf575c1d32bbe7cf42e017bce2e8cdc30a2946
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>
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).
---
src/ChangeLog | 5 +++++
src/gtkutil.c | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/ChangeLog b/src/ChangeLog
index d09b9de..09b4b3f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-25 Martin Rudalics <address@hidden>
+
+ * gtkutil.c (update_theme_scrollbar_width): Don't round up
+ scroll bar width with GTK3 (Bug#20182).
+
2015-03-22 John F Carr <address@hidden> (tiny change)
* fontset.c (fontset_pattern_regexp): Backport: Replace + 1 with
diff --git a/src/gtkutil.c b/src/gtkutil.c
index b23d84c..fedaa0f 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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 13cf575: Don't round up scroll bar width with GTK3 (Bug#20182).,
Martin Rudalics <=