From: John Darrington Date: Sat, 29 Jun 2019 11:05:12 +0000 (+0200) Subject: PsppireOutputViewer.c: Remove non-functional debug feature. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcfad73b9432cf839c4b68c28a13ebdfb2f0ad0f;p=pspp PsppireOutputViewer.c: Remove non-functional debug feature. --- 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);