Toby D. Reeves wrote: >Hello, > >I discovered the same "feature" on Redhat 7.2 last week. It turns out that >pygtk is compiled as part of the gnome-python package. PyGtk IS compiled >with threads enabled. BUT someone applied a broken patch that conditionally >call's g_thread_init in init_pygtk() based on the value of an environment >variable. As written, the patch simply never allows g_thread_init to be >called. Our solution was to arrange for g_thread_init to be called >elsewhere before "import gtk". > In CVS we have a fairly convenient way to disable GDK threading even if pygtk was compiled with threading support. You can simply call the gtk._disable_threading() function after importing gtk, but before first entering the main loop. This will be in the next stable pygtk release, and is non broken (and defaults to threading as before).
James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/ _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
