>  it *should* work as far as I can say. That it doesn't should be considered a 
> bug in GTK+.

I think I found the cause of the problem,
http://bugzilla.gnome.org/show_bug.cgi?id=523782 . Removing the call
to GDK_THREADS_LEAVE() in gtktoolbar.c fixes the problem.

Apparently on Linux it doesn't hurt to unlock a mutex too many times.
(Or maybe it means that the following lock attempts will appear to
succeed even if actually not locking the mutex, or something, which
doesn't hurt in the test program as it is single-threaded anyway. I am
too lazy to look it up or experiment now.) But on Windows it leads to
the next lock attempt hanging.

--tml
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to