[Goodies-dev] [Goodies-commits] r1752 - in verve-plugin/trunk: . panel-plugin scripts

Jannis Pohlmann jannis at xfce.org
Tue Jul 11 17:06:38 CEST 2006


On Tue, 11 Jul 2006 16:46:17 +0200, Benedikt Meurer wrote:

> Jannis,
> 
> That's not going to work.
> 
> > +  /* Connect to load-binaries signal of environment */
> > +  g_signal_connect (G_OBJECT (verve_env_get()), "load-binaries",
> > G_CALLBACK (verve_plugin_load_completion), verve); +
> 
> GCompletion is not thread-safe, you'll need to lock the access to your
> GCompletion using a mutex or whatever if you access them from more
> than one thread. Otherwise the plugin will crash randomly.

You mean like gdk_threads_enter/leave?

- Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/goodies-dev/attachments/20060711/49702987/attachment.pgp>


More information about the Goodies-dev mailing list