GNOME Bugzilla – Bug 516697
ui locks up
Last modified: 2008-02-15 20:46:38 UTC
Ever since the camera-setup-in-thread patch was merged, cheese ui locks up for me as soon as the webcam starts playing. Here is a patch that fixes it. Morale: be careful when playing with threads....
Created attachment 105343 [details] [review] add missing locking
Thanks for your patch. After reading [1] I wonder why you don't put the ephy_spinner_stop into the critical section. It also calls gtk functions [1] http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#gdk-threads-enter
well, the docs for ephy_spinner would have to say whether iti is sujpposed to be called with the gdk lock held or not. But I assume you are right.
Thanks 2008-02-15 Jaap Haitsma <jaap@haitsma.org> * src/cheese-window.c: Put gtk calls in critical section in thread Fixes bug #516697. Patch by Mathias Clasen <mclasen@redhat.com>