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



commit fa7ffa5bc285b9f4c1086c31641cd1c9f40c9edd
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 0e7aea6..4815198 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -1798,7 +1798,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]