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



commit ae33a968a9085e340e90bec2b291a289f342fc7b
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 f026077..d452766 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -1787,7 +1787,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]