gnome-games r7234 - trunk/aisleriot
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7234 - trunk/aisleriot
- Date: Mon, 14 Jan 2008 14:15:19 +0000 (GMT)
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]