diff options
Diffstat (limited to 'examples/tictactoe/tictactoe.c')
-rw-r--r-- | examples/tictactoe/tictactoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tictactoe/tictactoe.c b/examples/tictactoe/tictactoe.c index 33ba849edc..bb17d3f5f1 100644 --- a/examples/tictactoe/tictactoe.c +++ b/examples/tictactoe/tictactoe.c @@ -96,7 +96,7 @@ tictactoe_init (Tictactoe *ttt) gtk_table_attach_defaults (GTK_TABLE (table), ttt->buttons[i][j], i, i+1, j, j+1); g_signal_connect (G_OBJECT (ttt->buttons[i][j]), "toggled", - G_CALLBACK (tictactoe_toggle), ttt); + G_CALLBACK (tictactoe_toggle), (gpointer) ttt); gtk_widget_set_size_request (ttt->buttons[i][j], 20, 20); gtk_widget_show (ttt->buttons[i][j]); } |