[gnome-games] gnomine: fix a build warning



commit 0c2c7c84e00e2351de5b56b1f3205929fff44402
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Wed Oct 14 22:26:13 2009 +0200

    gnomine: fix a build warning

 gnomine/minefield.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomine/minefield.c b/gnomine/minefield.c
index 49777ea..09e1852 100644
--- a/gnomine/minefield.c
+++ b/gnomine/minefield.c
@@ -1272,7 +1272,7 @@ gtk_minefield_set_size (GtkMineField * mfield, guint xsize, guint ysize)
   mfield->xsize = xsize;
   mfield->ysize = ysize;
 
-  if (gtk_widget_get_visible (mfield)) {
+  if (gtk_widget_get_visible (GTK_WIDGET (mfield))) {
     gtk_widget_queue_resize (GTK_WIDGET (mfield));
   }
 }



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