[gnome-chess/gnome-3-8] Stop the clock at the end of the game (cherry picked from commit d8b249f8bbab0f8efe3522d262a66548da5
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/gnome-3-8] Stop the clock at the end of the game (cherry picked from commit d8b249f8bbab0f8efe3522d262a66548da5
- Date: Wed, 22 May 2013 20:23:34 +0000 (UTC)
commit 6de1df7c6afae10f4ca6ed4e5cc8f8174de8287d
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
(cherry picked from commit d8b249f8bbab0f8efe3522d262a66548da5b4aec)
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 cbbbddd..c7aa2f2 100644
--- a/src/chess-game.vala
+++ b/src/chess-game.vala
@@ -1455,6 +1455,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]