GThread usage in the panel

Bernhard Walle Bernhard.Walle at gmx.de
Sun Aug 1 11:05:06 CEST 2004


* Bernhard Walle <Bernhard.Walle at gmx.de> [2004-07-25 12:59]:
> * 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. 

finally, I read the explanation again and it's clear now what you mean
:)


Gruß,
Bernhard

-- 
_________ http://www.bwalle.de _________________________________________________
"There are two major products that come out of Berkeley:
LSD and UNIX. We don't believe this to be a coincidence."
        -- Jeremy S. Anderson




More information about the Xfce4-dev mailing list