[pygtk] Pygtk Crashes Everywhere

Facundo Batista facundobatista at gmail.com
Wed Apr 2 21:53:04 WST 2008


2008/4/2, Matí­as Alejandro Torres <torresmat at gmail.com>:

>
>  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()

Regards,

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/


More information about the pygtk mailing list