[gnome-chess] Remove unused method ChessGame.abandon()
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Remove unused method ChessGame.abandon()
- Date: Tue, 7 Jan 2014 20:55:31 +0000 (UTC)
commit 4318ada8c9e25bbe0fc9cee41ab1e0c660fea6fe
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Jan 7 13:48:49 2014 -0600
Remove unused method ChessGame.abandon()
src/chess-game.vala | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/chess-game.vala b/src/chess-game.vala
index a3e0594..423b244 100644
--- a/src/chess-game.vala
+++ b/src/chess-game.vala
@@ -1488,13 +1488,6 @@ public class ChessGame
else
stop (ChessResult.WHITE_WON, ChessRule.TIMEOUT);
}
-
- public void abandon ()
- {
- if (!is_started)
- return;
- stop (ChessResult.DRAW, ChessRule.ABANDONMENT);
- }
public ChessPiece? get_piece (int rank, int file, int move_number = -1)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]