gnome-games r7826 - trunk/aisleriot
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7826 - trunk/aisleriot
- Date: Fri, 15 Aug 2008 10:14:47 +0000 (UTC)
Author: chpe
Date: Fri Aug 15 10:14:47 2008
New Revision: 7826
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7826&view=rev
Log:
Fix compile warnings on hildon platform.
Modified:
trunk/aisleriot/board.c
trunk/aisleriot/window.c
Modified: trunk/aisleriot/board.c
==============================================================================
--- trunk/aisleriot/board.c (original)
+++ trunk/aisleriot/board.c Fri Aug 15 10:14:47 2008
@@ -479,6 +479,8 @@
*_cardid = cardid > 0 ? cardid - 1 : -1;
}
+#ifdef ENABLE_KEYNAV
+
static gboolean
test_slot_projection_intersects_x (Slot *slot,
int x_start,
@@ -513,6 +515,8 @@
return slot_index;
}
+#endif /* ENABLE_KEYNAV */
+
static void
get_rect_by_slot_and_card (AisleriotBoard *board,
Slot *slot,
Modified: trunk/aisleriot/window.c
==============================================================================
--- trunk/aisleriot/window.c (original)
+++ trunk/aisleriot/window.c Fri Aug 15 10:14:47 2008
@@ -2008,7 +2008,9 @@
GdkEventWindowState *event)
{
AisleriotWindow *window = AISLERIOT_WINDOW (widget);
+#ifndef HAVE_HILDON
AisleriotWindowPrivate *priv = window->priv;
+#endif
if (event->changed_mask & (GDK_WINDOW_STATE_FULLSCREEN | GDK_WINDOW_STATE_MAXIMIZED)) {
gboolean is_fullscreen, is_maximised;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]