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



commit 99853710f886d2c761c0a821bdf7e673e2ab16af
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]