gnome-games r7206 - trunk/aisleriot



Author: chpe
Date: Sun Jan 13 22:08:48 2008
New Revision: 7206
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7206&view=rev

Log:
#define ENABLE_KEYNAV on non-hildon by default.


Modified:
   trunk/aisleriot/board.c

Modified: trunk/aisleriot/board.c
==============================================================================
--- trunk/aisleriot/board.c	(original)
+++ trunk/aisleriot/board.c	Sun Jan 13 22:08:48 2008
@@ -22,8 +22,6 @@
 
 #include "config.h"
 
-#define ENABLE_KEYNAV
-
 #include <string.h>
 
 #include <gtk/gtk.h>
@@ -43,6 +41,11 @@
 
 #define AISLERIOT_BOARD_GET_PRIVATE(board)(G_TYPE_INSTANCE_GET_PRIVATE ((board), AISLERIOT_TYPE_BOARD, AisleriotBoardPrivate))
 
+/* Enable keynav on non-hildon by default */
+#ifndef HAVE_HILDON
+#define ENABLE_KEYNAV
+#endif /* !HAVE_HILDON */
+
 /* The minimum size for the playing area. Almost completely arbitrary. */
 #define BOARD_MIN_WIDTH 300
 #define BOARD_MIN_HEIGHT 200



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