Re: stdout output from colorselection



Hi Iago,

On Sat, 2006-08-05 at 16:17 +0200, Iago Rubio wrote:

> Looks like the culprit is palette_paint at gtkcolorsel.c:607,
> http://cvs.gnome.org/viewcvs/gtk%
> 2B/gtk/gtkcolorsel.c?rev=1.147&view=markup
> 
> // ....
> 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);
> // ...
> 
> Is that intentional ?

Probably not: seems like the remainder of some debug code.

> It's somewhat polluting the application's output. It will confuse users
> of those applications that use g_set_print_handler to log output to a
> file.

You should file a bug about it on the gtk+ product of GNOME's Bugzilla;
you can also attach a patch removing the g_print call.

Ciao,
 Emmanuele.

-- 
Emmanuele Bassi,  E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net




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