GThread usage in the panel

Bernhard Walle Bernhard.Walle at gmx.de
Sun Jul 25 12:59:56 CEST 2004


* Brian J. Tarricone <bjt23 at cornell.edu> [2004-07-24 20:45]:
> 
> an important note.  this means you CANNOT use these functions for 
> anything but idle/timeout functions.  if you call one of these functions 
> from anywhere in the main thread or in the gtk main loop, the panel will 
> hang.  if you have a function that you use as a timeout/idle function 
> and that you just call normally, you'll need to wrap it in another 
> function that calls XFCE_PANEL_LOCK/UNLOCK() around the function call.  
> sorry i'm not explaining this perfectly, but if anyone's confused, let 
> me know and i'll provide an example.

An example would be good. 

Regards,
Bernhard

-- 
_________ http://www.bwalle.de _________________________________________________
Der Mittwoch müsste so heilig gesprochen werden, dass man zwei Tage vorher 
und zwei Tage nachher nicht arbeiten darf.
	-- (unbekannt)




More information about the Xfce4-dev mailing list