[gtk+/wip/baedert/drawing: 328/359] widget: Fix copy&paste error when creating debug nodes



commit c01ae471048d5240cc644e59e755bb37178999a0
Author: Timm Bäder <mail baedert org>
Date:   Tue Jul 4 14:59:02 2017 +0200

    widget: Fix copy&paste error when creating debug nodes

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index d967b8d..bc716c3 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -15165,7 +15165,7 @@ gtk_widget_maybe_add_debug_render_nodes (GtkWidget             *widget,
 
       graphene_rect_init (&bounds,
                           priv->allocation.width - margin.right, margin.top,
-                          margin.left, priv->allocation.height - margin.top - margin.bottom);
+                          margin.right, priv->allocation.height - margin.top - margin.bottom);
       gtk_snapshot_append_color (snapshot, &margin_color, &bounds, "Margin right");
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]