I\'m in the process of converting a program from PyGTK to PyGObject introspection for the first time and I\'ve hit a roadblock with threading. I have a process that takes so
I managed to answer my own question by poking through some Gnome programs written in Python (Gnome Sudoku, in this case, which actually has helped me a couple of times).
The trick is that you have to call GObject.threads_init()
at the beginning of your code, not GLib.thread_init()
as the C documentation implies.