gnome-games r7234 - trunk/aisleriot



Author: chpe
Date: Mon Jan 14 14:15:19 2008
New Revision: 7234
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7234&view=rev

Log:
Set scalable_cards to FALSE if RSVG isn't supported.


Modified:
   trunk/aisleriot/window.c

Modified: trunk/aisleriot/window.c
==============================================================================
--- trunk/aisleriot/window.c	(original)
+++ trunk/aisleriot/window.c	Mon Jan 14 14:15:19 2008
@@ -2193,9 +2193,13 @@
   priv->scalable_cards = FALSE;
   priv->use_pixbuf_drawing = FALSE;
 #else
+#ifdef HAVE_RSVG
   /* Default to scalable */
   env = g_getenv ("AISLERIOT_CARDS_SCALABLE");
   priv->scalable_cards = env == NULL || g_ascii_strtoull (env, NULL, 0) != 0;
+#else
+  priv->scalable_cards = FALSE;
+#endif /* HAVE_RSVG */
 
   /* Default to pixbuf drawing */
   env = g_getenv ("AISLERIOT_PIXBUF_DRAWING");



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