[gnome-games] aisleriot: Set card-overhang to 0.5 on maemo



commit fbafa2954d61c00a8c1d59f7fc6077cbca118a47
Author: Christian Persch <chpe gnome org>
Date:   Mon Jan 11 21:25:15 2010 +0100

    aisleriot: Set card-overhang to 0.5 on maemo
    
    The device's screen is too small for 0 overhang.

 aisleriot/ar-style-private.h |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/aisleriot/ar-style-private.h b/aisleriot/ar-style-private.h
index e2c62be..97fcbb1 100644
--- a/aisleriot/ar-style-private.h
+++ b/aisleriot/ar-style-private.h
@@ -23,15 +23,13 @@ G_BEGIN_DECLS
 static const GdkColor default_selection_color = { 0, 0 /* red */, 0 /* green */, 0xaa00 /* blue */ };
 
 /* The proportion of a slot dedicated to the card (horiz or vert). */
-#ifndef DEFAULT_CARD_SLOT_RATIO
 #ifdef HAVE_HILDON
 #define DEFAULT_CARD_SLOT_RATIO (0.9)
+#define DEFAULT_CARD_OVERHANG (0.5)
 #else
 #define DEFAULT_CARD_SLOT_RATIO (0.8)
-#endif
-#endif /* !DEFAULT_CARD_SLOT_RATIO */
-
 #define DEFAULT_CARD_OVERHANG (0.0)
+#endif
 
 #define MIN_CARD_STEP (0.0)
 #define MAX_CARD_STEP (1.0) /* FIXMEchpe: allow values > 1.0 here? */



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