[gtk+/wip/baedert/drawing: 148/348] range: Draw the colorscale trough at 0, 0



commit 6289da779895c08e031949c50679e878b35176e8
Author: Timm Bäder <mail baedert org>
Date:   Mon May 8 17:17:27 2017 +0200

    range: Draw the colorscale trough at 0,0

 gtk/gtkrange.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 34dfcb7..026479e 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -1729,7 +1729,7 @@ gtk_range_render_trough (GtkGizmo    *gizmo,
    */
   if (GTK_IS_COLOR_SCALE (widget))
     gtk_color_scale_snapshot_trough (GTK_COLOR_SCALE (widget), snapshot,
-                                     alloc.x, alloc.y, alloc.width, alloc.height);
+                                     0, 0, alloc.width, alloc.height);
 
   if (priv->show_fill_level &&
       gtk_adjustment_get_upper (priv->adjustment) - gtk_adjustment_get_page_size (priv->adjustment) -


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]