Re: [g-a-devel] any news on the gthread problem?



Seems some applications like linphone have such a problem. 
Thanks, Halim! 
After looking at the code, I found the problem is these applications
call gtk_init/gnome_program_init before g_thread_init. This is not good
because g_thread_init should be called before all glib functions. If
there isn't any g_thread_init call before gtk_init/gnome_program_init,
CORBA will call it when atk-bridge is initialized (loaded by
gtk_init/gnome_program_init). So call g_thread_init before any glib
functions is the right way to fix the problem.

Thanks,
Li


在 2007-08-09四的 16:10 +0800,Li Yuan写道:
> Do we have a bug for this?
> I think every application can start normally with A11Y enabled now.
> 
> Li
> 在 2007-08-09四的 07:34 +0000,Halim Sahin写道:
> > Hi,
> > 
> > Remember this errormessage if gnomeaccessibility is enabled some
> > applications don't start.
> > 
> > 
> > _______
> > GTK Accessibility Module initialized
> > 
> > GThread-ERROR **: GThread system may only be initialized once.
> > aborting...
> > ______
> > Is there a fix available?
> > Thanks
> > Halim
> > 
> > 
> > _______________________________________________
> > Gnome-accessibility-devel mailing list
> > Gnome-accessibility-devel gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel




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