From fcfad73b9432cf839c4b68c28a13ebdfb2f0ad0f Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 29 Jun 2019 13:05:12 +0200 Subject: [PATCH] PsppireOutputViewer.c: Remove non-functional debug feature. --- src/ui/gui/psppire-output-view.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/ui/gui/psppire-output-view.c b/src/ui/gui/psppire-output-view.c index ae4ab5277a..f98b725834 100644 --- a/src/ui/gui/psppire-output-view.c +++ b/src/ui/gui/psppire-output-view.c @@ -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); -- 2.30.2