[gnome-chess] Stop the clock at the end of the game
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Stop the clock at the end of the game
- Date: Wed, 22 May 2013 20:24:00 +0000 (UTC)
commit d8b249f8bbab0f8efe3522d262a66548da5b4aec
Author: Michael Catanzaro <mike catanzaro gmail com>
Date: Tue May 21 21:23:51 2013 -0500
Stop the clock at the end of the game
src/chess-game.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/chess-game.vala b/src/chess-game.vala
index e62aeb3..0bd80d6 100644
--- a/src/chess-game.vala
+++ b/src/chess-game.vala
@@ -1454,6 +1454,8 @@ public class ChessGame
this.result = result;
this.rule = rule;
is_started = false;
+ if (_clock != null)
+ _clock.stop();
ended ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]