[gnome-games] gnobots2: GTK_OBJECT is gone in gtk3
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnobots2: GTK_OBJECT is gone in gtk3
- Date: Tue, 9 Nov 2010 22:34:57 +0000 (UTC)
commit e467a0a84244364f64735c792d02febdb04d4aff
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Tue Nov 9 23:24:29 2010 +0100
gnobots2: GTK_OBJECT is gone in gtk3
gnobots2/game.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnobots2/game.c b/gnobots2/game.c
index 0ccf5fb..b144fb4 100644
--- a/gnobots2/game.c
+++ b/gnobots2/game.c
@@ -669,7 +669,7 @@ init_game (void)
{
create_game_timer ();
- g_signal_connect (GTK_OBJECT (app), "key_press_event",
+ g_signal_connect (GTK_WIDGET (app), "key_press_event",
G_CALLBACK (keyboard_cb), 0);
start_new_game ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]