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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With