cheese r508 - in trunk: . src
- From: jhaitsma svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r508 - in trunk: . src
- Date: Fri, 15 Feb 2008 20:46:45 +0000 (GMT)
Author: jhaitsma
Date: Fri Feb 15 20:46:45 2008
New Revision: 508
URL: http://svn.gnome.org/viewvc/cheese?rev=508&view=rev
Log:
Put gtk calls in critical section in thread Fixes bug #516697. Patch by Mathias Clasen <mclasen redhat com>
Modified:
trunk/ChangeLog
trunk/src/cheese-window.c
Modified: trunk/src/cheese-window.c
==============================================================================
--- trunk/src/cheese-window.c (original)
+++ trunk/src/cheese-window.c Fri Feb 15 20:46:45 2008
@@ -1148,8 +1148,10 @@
cheese_effect_chooser_get_selection (CHEESE_EFFECT_CHOOSER (cheese_window->effect_chooser)));
cheese_webcam_play (cheese_window->webcam);
+ gdk_threads_enter ();
gtk_notebook_set_current_page (GTK_NOTEBOOK(cheese_window->notebook), 0);
ephy_spinner_stop (EPHY_SPINNER (cheese_window->throbber));
+ gdk_threads_leave ();
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]