[gtk+/gtk-3-20] range: Add a queue_resize call
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] range: Add a queue_resize call
- Date: Mon, 6 Jun 2016 16:33:44 +0000 (UTC)
commit 9a81e714d6acff1c9a489ffd461117db77de3521
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 6 12:31:41 2016 -0400
range: Add a queue_resize call
This is a workaround for a regression in updating scrollbars in
some applications; notably eog. We haven't fully tracked down yet
why a queue_allocation is not sufficient here, it should.
gtk/gtkrange.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 8cbaf4f..b2e956c 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -3616,7 +3616,7 @@ gtk_range_calc_slider (GtkRange *range)
gtk_css_gadget_set_visible (priv->slider_gadget, visible);
- gtk_css_gadget_queue_allocate (priv->slider_gadget);
+ gtk_css_gadget_queue_resize (priv->slider_gadget);
if (priv->has_origin)
gtk_css_gadget_queue_allocate (priv->trough_gadget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]