Hi there!
If you've ventured just a little bit into GTK and threading, you have probably noticed how things can explode if you manipulate GTK objects directly from a thread. GTK is not threadsafe.
However, this tip might help you get stuff done properly:
1) Do your actual work in …
Read the rest of this entry »I have been hunting spontaneous crashes with errors from the C GTK libs. The errors looked somewhat like these:
Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
gtk.main()
Warning: instance of invalid non-instantiatable type `AtkSelection'
gtk.main()
Warning: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
gtk.main()
(...)
Warning: instance of invalid non-instantiatable type `'
gtk.main() …
Read the rest of this entry »