[gnome-chess] Remove ChessPlayer.start_turn()
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Remove ChessPlayer.start_turn()
- Date: Thu, 26 Jun 2014 02:45:34 +0000 (UTC)
commit be821cf7d6645662c8225fdb0484e4671bcd64fd
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Jun 25 21:37:44 2014 -0500
Remove ChessPlayer.start_turn()
It's unused
lib/chess-game.vala | 2 --
lib/chess-player.vala | 1 -
2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/lib/chess-game.vala b/lib/chess-game.vala
index fc59824..e3e1ea0 100644
--- a/lib/chess-game.vala
+++ b/lib/chess-game.vala
@@ -182,7 +182,6 @@ public class ChessGame : Object
{
if (_clock != null)
_clock.active_color = current_player.color;
- current_player.start_turn ();
turn_started (current_player);
}
}
@@ -273,7 +272,6 @@ public class ChessGame : Object
_clock.active_color = current_player.color;
}
- current_player.start_turn ();
turn_started (current_player);
}
diff --git a/lib/chess-player.vala b/lib/chess-player.vala
index 0b19ecc..42a33e0 100644
--- a/lib/chess-player.vala
+++ b/lib/chess-player.vala
@@ -18,7 +18,6 @@ public enum Color
public class ChessPlayer : Object
{
public Color color;
- public signal void start_turn ();
public signal bool do_move (string move, bool apply);
public signal void do_undo ();
public signal bool do_resign ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]