Re: [osg-users] GTK guru's please help!

2008-11-20 Thread Robert Osfield
Hi Jason and Jeremy, I've tried switching the order of the gtk_disable_setlocale(); and gtk_init(NULL, NULL); but it just hangs on gtk_init instead of gtk_disable_setlocale(). All my GTK calls and use of gecko is all done from a single back ground thread - this hasn't changed since moving the

Re: [osg-users] GTK guru's please help!

2008-11-20 Thread Robert Osfield
HI All, On Thu, Nov 20, 2008 at 9:42 AM, Robert Osfield [EMAIL PROTECTED] wrote: I will try out calling the gtk_init() from the main osgbrowser. This didn't work either, I still get the background thread hitting a pthread mutex deep inside gtk on my first call to gtk from the background thread.

Re: [osg-users] GTK guru's please help!

2008-11-20 Thread Robert Osfield
Hi All, On Thu, Nov 20, 2008 at 9:53 AM, Robert Osfield [EMAIL PROTECTED] wrote: Next I'm going to move all the GTK calls into osgWidget and see if a conventional library rather than a plugin will be able to work properly with gtk... This didn't work either. So I tried a different tack, I

Re: [osg-users] GTK guru's please help!

2008-11-20 Thread Robert Osfield
On Thu, Nov 20, 2008 at 11:06 AM, Robert Osfield [EMAIL PROTECTED] wrote: Now things are working with the new gecko plugin I'll check it in, and others can test it out. The new plugin that wraps up the gecko based browser implementation is now checked into svn. The osgWidget::Browser API still

[osg-users] GTK guru's please help!

2008-11-19 Thread Robert Osfield
Hi Guys, I'm now wrapping my first pass at browser support in the OSG by moving the LLMozLib/LibXUL implementation in the osgbrowser example off into a plugin. The work moving the code was pretty straight forward as I've always had this change in mind, but now I've moved on to debugging the

Re: [osg-users] GTK guru's please help!

2008-11-19 Thread Jeremy Moles
On Wed, 2008-11-19 at 20:51 +, Robert Osfield wrote: Hi Guys, I'm now wrapping my first pass at browser support in the OSG by moving the LLMozLib/LibXUL implementation in the osgbrowser example off into a plugin. The work moving the code was pretty straight forward as I've always had

Re: [osg-users] GTK guru's please help!

2008-11-19 Thread Jason Daly
Jeremy Moles wrote: I've always been under the impression that gtk_init() has to be called first before any fuction that begins with gtk_*, have you tried moving it as the first call instead of disable_setlocale? What if you call gtk_init() in the main code before doing anything that forces