summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliot Fairweather <elliot.fairweather@collabora.co.uk>2008-07-31 23:32:36 (GMT)
committerElliot Fairweather <elliot.fairweather@collabora.co.uk>2008-07-31 23:32:36 (GMT)
commitb95c03c1171ebc20074077c18dc8152f8f4b8c6b (patch)
tree0a12ce1a33543bb4fd7989a157fb00516cfcb689
parentb7e3228a0e2de9afa881954ef6960f8d54f71ede (diff)
downloadtictactube-b95c03c1171ebc20074077c18dc8152f8f4b8c6b.tar.gz
tictactube-b95c03c1171ebc20074077c18dc8152f8f4b8c6b.tar.xz
remove current player parameter from game ready signal
20080731233236-82d1e-4535a302f96da2d5b52109092267384259581773.gz
-rw-r--r--src/ttt-game.c4
-rw-r--r--src/ttt-ui.c4
2 files changed, 3 insertions, 5 deletions
diff --git a/src/ttt-game.c b/src/ttt-game.c
index a60a1af..f0fd835 100644
--- a/src/ttt-game.c
+++ b/src/ttt-game.c
@@ -114,8 +114,8 @@ ttt_game_class_init (TttGameClass *klass)
G_TYPE_NONE, 1, G_TYPE_UINT);
signals[READY] =
g_signal_new ("ready", G_TYPE_FROM_CLASS (klass),
- G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__UINT,
- G_TYPE_NONE, 1, G_TYPE_UINT);
+ G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0);
signals[MODEL_UPDATED] =
g_signal_new ("model-updated", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID,
diff --git a/src/ttt-ui.c b/src/ttt-ui.c
index 195d846..edb166e 100644
--- a/src/ttt-ui.c
+++ b/src/ttt-ui.c
@@ -81,8 +81,7 @@ static void ttt_ui_tubes_activated_cb (GtkWidget *widget, gpointer data);
static void ttt_ui_tcp_activated_cb (GtkWidget *widget, gpointer data);
static void ttt_ui_quit_activated_cb (GtkWidget *widget, gpointer data);
-static void ttt_ui_game_ready_cb (TttGame *game, guint current_player,
- gpointer data);
+static void ttt_ui_game_ready_cb (TttGame *game, gpointer data);
static void ttt_ui_game_ended_cb (TttGame *game,
guint player_number, gpointer data);
static void ttt_ui_game_model_updated_cb (TttGame *game, gpointer data);
@@ -335,7 +334,6 @@ ttt_ui_view_square_clicked_cb (GtkWidget *view,
static void
ttt_ui_game_ready_cb (TttGame *game,
- guint current_player,
gpointer data)
{
TttUi *ui = TTT_UI (data);