I believe Firefox has a similar problem. To fix it, we created environment variables (NO_GAIL_ENV and NO_AT_BRIDGE) to tell GAIL and atk-bridge "it is not the time to be loaded". So if applications set these environment variables, even they call gtk_init(), GAIL and atk-bridge will not be loaded. After that, applications can load them any time they want.
On Thu, 2009-08-20 at 12:34 +0200, API wrote: > Hi, > > right now, in most gnome applications, and as libgnome is deprecated, > GTK_MODULES is used to load both gail and atk-bridge. In order to get > this, atk-bridge was placed on the gtk moduledir directory, when if > fact, it is implemented without any gtk dependency. > > But with Cally, and perhaps any future toolkit (I think that there are > plans to use Qt apps with at-spi, so probably they will use the same > atk-bridge), probably atk-bridge should be placed in a different > place. > > In the same way, probably we will have mixed environments, ie, > clutter+gtk, and both Cally and GAIL will need to be loaded, but the > order matter (it is not the same gail:cally:atk-bridge, that > cally:gail:atk-bridge). > > So, probably we will require a common application-level way to load > the a11y related modules. Yes, I know, this is what gnome-program > made, and libgnome is deprecated ... I agree that we should find a more common place to put atk-bridge, so other toolkit can use it. Li > > I'm not sure about the proper solution, so probably apps will need to > load the modules by hand for the moment. > > The source of this: > > http://bugzilla.openedhand.com/show_bug.cgi?id=1738#c3 > > === > API (apinhe...@igalia.com) > _______________________________________________ > gnome-accessibility-list mailing list > gnome-accessibility-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list _______________________________________________ gnome-accessibility-list mailing list gnome-accessibility-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list