[gtk+/wip/baedert/drawing: 111/130] widget: black is the new red



commit 9a026280c3f86671c35634364faebb72f3630eb4
Author: Timm Bäder <mail baedert org>
Date:   Tue Jun 27 12:28:25 2017 +0200

    widget: black is the new red

 gtk/gtkwidget.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 76054b4..c477520 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -15200,7 +15200,7 @@ gtk_widget_maybe_add_debug_render_nodes (GtkWidget             *widget,
 
       if (baseline != -1)
         {
-          GdkRGBA black = {1, 0, 0, 1};
+          GdkRGBA red = {1, 0, 0, 1};
           graphene_rect_t bounds;
 
           style = gtk_css_node_get_style (priv->cssnode);
@@ -15215,7 +15215,7 @@ gtk_widget_maybe_add_debug_render_nodes (GtkWidget             *widget,
                               margin.top + border.top + padding.top + baseline,
                               priv->allocation.width, 1);
           gtk_snapshot_append_color (snapshot,
-                                     &black,
+                                     &red,
                                      &bounds,
                                      "Baseline Debug");
         }


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