[gtk+/wip/baedert/drawing: 5/24] range: Allocate the trough when the	adjustment value changes
- From: Timm Bäder <baedert src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+/wip/baedert/drawing: 5/24] range: Allocate the trough when the	adjustment value changes
 
- Date: Sat, 13 May 2017 17:56:29 +0000 (UTC)
 
commit 660125d73b2ab9b7f0eefa06942060cc7341d876
Author: Timm Bäder <mail baedert org>
Date:   Mon May 8 14:22:51 2017 +0200
    range: Allocate the trough when the adjustment value changes
    
    So it repositions the slider.
 gtk/gtkrange.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index bdc00b0..0e7aea6 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -2569,6 +2569,8 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment,
    */
 
   g_signal_emit (range, signals[VALUE_CHANGED], 0);
+
+  gtk_widget_queue_allocate (range->priv->trough_widget);
 }
 
 static void
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]