[gnome-builder] rg: rendering output is relative to widget coordinates
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] rg: rendering output is relative to widget coordinates
- Date: Tue, 2 Jun 2015 03:49:22 +0000 (UTC)
commit 9d5c9c497e5a860267f9688921c3ac41362952c9
Author: Christian Hergert <christian hergert me>
Date: Mon Jun 1 20:49:17 2015 -0700
rg: rendering output is relative to widget coordinates
contrib/rg/rg-graph.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/rg/rg-graph.c b/contrib/rg/rg-graph.c
index 6578f48..238f631 100644
--- a/contrib/rg/rg-graph.c
+++ b/contrib/rg/rg-graph.c
@@ -236,7 +236,7 @@ rg_graph_draw (GtkWidget *widget,
gtk_style_context_save (style_context);
gtk_style_context_add_class (style_context, "view");
- gtk_render_background (style_context, cr, alloc.x, alloc.y, alloc.width, alloc.height);
+ gtk_render_background (style_context, cr, 0, 0, alloc.width, alloc.height);
gtk_style_context_restore (style_context);
cairo_save (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]