Gtk isn't thread safe, but "thread aware": See Gdk Docs -> Threads.

Basically you have to use

gdk_threads_init()

...

gdk_threads_enter()
gtk_main()
gdk_threads_leave()

...

Before every call from a thread to Gdk / Gtk+ you have to get the Gdk lock
via gdk_threads_enter()

HTH

Jan-Marek
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to