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



commit 75b42f3605bf42357ea4b5e84bf3ba1e64995356
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]