gbrainy r196 - trunk/src
- From: jmas svn gnome org
- To: svn-commits-list gnome org
- Subject: gbrainy r196 - trunk/src
- Date: Sun, 3 Feb 2008 17:38:20 +0000 (GMT)
Author: jmas
Date: Sun Feb 3 17:38:20 2008
New Revision: 196
URL: http://svn.gnome.org/viewvc/gbrainy?rev=196&view=rev
Log:
Fixes threading problem
Modified:
trunk/src/ChangeLog
trunk/src/GameDrawingArea.cs
Modified: trunk/src/GameDrawingArea.cs
==============================================================================
--- trunk/src/GameDrawingArea.cs (original)
+++ trunk/src/GameDrawingArea.cs Sun Feb 3 17:38:20 2008
@@ -143,7 +143,9 @@
if (countdown_time == 1) {
timer.Enabled = false;
timer.Dispose ();
- finish (this, EventArgs.Empty);
+ Application.Invoke ( delegate {
+ finish (this, EventArgs.Empty);
+ });
}
countdown_time--;
Application.Invoke ( delegate { QueueDraw (); });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]