Hi,
on the Mac the following works fine with both X11 and Quartz:

  http://www.pygtk.org/pygtk2tutorial/examples/helloworld.py

I then added a single line to prepare for simple threading as mentioned on:

  http://faq.pygtk.org/index.py?req=show&file=faq20.001.htp

  gobject.threads_init()

This changes nothing when using X11, but on a Quartz build gtk.main_quit() no 
longer exits the process, only SIGKILL does!

To narrow it down I also added a single line to:

  http://library.gnome.org/devel/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD

  g_thread_init(NULL);

This did not exhibit the problem, so it must be something PyGTK does. But I 
know little about C, so the lines may not be equivalent.
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to