[gnome-robots/wip/libgames-support: 37/41] Fix compiler warning
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/wip/libgames-support: 37/41] Fix compiler warning
- Date: Sun, 20 Sep 2015 22:40:06 +0000 (UTC)
commit d864bcdd0885552e01c80f1dd0c25ebfca50c88a
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Sep 19 18:28:13 2015 -0500
Fix compiler warning
The return type has changed now that this has been ported to Vala
src/gnome-robots.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index bfcb1f3..8d72937 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -377,7 +377,7 @@ activate (GtkApplication *app, gpointer user_data)
g_signal_connect (G_OBJECT (game_area), "destroy",
G_CALLBACK (gtk_widget_destroyed), &game_area);
- gridframe = games_grid_frame_new (GAME_WIDTH, GAME_HEIGHT);
+ gridframe = GTK_WIDGET(games_grid_frame_new (GAME_WIDTH, GAME_HEIGHT));
gtk_container_add (GTK_CONTAINER (gridframe), game_area);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]