PsppireOutputViewer.c: Remove non-functional debug feature.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 29 Jun 2019 11:05:12 +0000 (13:05 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 29 Jun 2019 11:05:12 +0000 (13:05 +0200)
src/ui/gui/psppire-output-view.c

index ae4ab5277ae5c34bd36544c69fe7171ea5ceec0b..f98b725834f8dfe83d86193d83de7b3d5bb3818e 100644 (file)
@@ -200,18 +200,6 @@ create_drawing_area (struct psppire_output_view *view,
                      GtkWidget *drawing_area, struct xr_rendering *r,
                      int tw, int th)
 {
-  /* Enable this to help with debugging.  It shows you which widgets are being
-     put where. */
-  if (0)
-    {
-      GdkRGBA green = {0, 1, 0, 1};
-      gtk_widget_override_background_color (GTK_WIDGET (view->output),
-                                           GTK_STATE_FLAG_NORMAL, &green);
-      GdkRGBA red = {1, 0, 0, 1};
-      gtk_widget_override_background_color (drawing_area,
-                                            GTK_STATE_FLAG_NORMAL, &red);
-    }
-
   g_object_set_data_full (G_OBJECT (drawing_area),
                           "rendering", r, free_rendering);