[gnome-robots/wip/ui: 1/3] Add missing cast



commit 09a86dd9f42b20474f82afa3ac66ea93dc4e25f2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Jun 20 18:22:25 2014 -0500

    Add missing cast

 src/gnobots.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnobots.c b/src/gnobots.c
index 44654ea..495ec66 100644
--- a/src/gnobots.c
+++ b/src/gnobots.c
@@ -119,7 +119,7 @@ window_state_event_cb (GtkWidget *widget, GdkEventWindowState *event)
 void
 quit_game (void)
 {
-  gtk_window_close (window);
+  gtk_window_close (GTK_WINDOW (window));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]