With C, I use "g_idle_add ()", passing a function pointer and parameters, because I hear that GTK is thread aware, not thread safe.
GLib is thread safe (with "if (!g_thread_supp orted ()) g_thread_init (NULL);" in init) and solve this problem for me.
Leave a comment: