Re: Widgets and GThreads.

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

 



On Mon, 2004-06-07 at 22:03, ext Brian Kerrick Nickel wrote:
> 
> void thread_button_set_label_BD (ButtonData *data)
[...]
> 	g_idle_add (thread_button_set_label_BD, data);

The idle function should return 'gboolean' depending on whether it
should be called again.  By declaring it 'void' the return value is
undefined, depending on optimization flags it might be TRUE or FALSE. 
If TRUE, that will crash...  Better safe than sorry ;)


-- 
Tommi Komulainen <tommi.komulainen@xxxxxxxxx>
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux