GNOME Bugzilla – Bug 350072
stdout output from colorselection
Last modified: 2011-02-04 16:10:38 UTC
Please describe the problem: I realized that lately there have been some output to stdout when selecting an item on the color selection's palette. Looks like the culprit is palette_paint at gtkcolorsel.c:607 // .... 625 set_focus_line_attributes (drawing_area, cr, &focus_width); 626 g_print ("%g %g %g %g\n", 627 focus_width / 2., focus_width / 2., 628 (double)drawing_area->allocation.width - focus_width, 629 (double)drawing_area->allocation.height - focus_width); // ... Steps to reproduce: 1. Open a gtk colo chooser dialog with palette 2. Click on a palette item Actual results: It prints some output to stdout. Expected results: It doesn't prints anything to stdout Does this happen every time? Yes Other information:
Created attachment 70264 [details] [review] Patch to fix #350072 It merely takes out the print statement that's producing the spureous output.
2006-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcolorsel.c (palette_paint): Remove a leftover debug statement. (#350072, Iago Rubio)