[aisleriot] Debug



commit 077e3311ff243b7283079de3fb1727816af4597b
Author: Christian Persch <chpe gnome org>
Date:   Tue Apr 12 23:14:37 2011 +0200

    Debug

 src/sol.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/sol.c b/src/sol.c
index 3ef0cf2..414a0c4 100644
--- a/src/sol.c
+++ b/src/sol.c
@@ -237,6 +237,11 @@ main (int argc, char *argv[])
   if (!ar_runtime_init ("aisleriot"))
     return 1;
 
+#if GNOME_ENABLE_DEBUG
+  _AR_DEBUG_IF (AR_DEBUG_SCHEME)
+    g_setenv ("GUILE_WARN_DEPRECATED", "detailed", TRUE);
+#endif
+
   scm_boot_guile (argc, argv, main_prog, NULL); /* no return */
 
   return 0;



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