[pygtk] Pygtk Crashes Everywhere

Jarek Zgoda jzgoda at o2.pl
Thu Apr 3 03:27:39 WST 2008


Facundo Batista pisze:

>>  gobject.threads_init ()
>>  gtk.gdk.threads_init ()
> 
> For w3af to behave correctly both in windows and linux, I had to do this:
> 
> if sys.platform == "win32":
>     gobject.threads_init()
> else:
>     gtk.gdk.threads_init()

I use only gobject.threads_init() and my programs work like a charm on
both systems.

-- 
Jarek Zgoda
http://zgodowie.org/

"We read Knuth so you don't have to" - Tim Peters


More information about the pygtk mailing list