[gtk+/wip/baedert/drawing: 110/128] range: Draw the colorscale trough at 0, 0
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 110/128] range: Draw the colorscale trough at 0, 0
- Date: Sat, 13 May 2017 19:20:26 +0000 (UTC)
commit 8cb2f2f53d528fdf05e676fec21266486d308b13
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]