[gcompris/gcomprixogoo] Exclude tuxpaint from macosx.



commit b9ed35db8690fd057434ae5fb7e47cf165e0e31d
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Wed Apr 7 17:38:13 2010 +0200

    Exclude tuxpaint from macosx.

 src/gcompris/board.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gcompris/board.c b/src/gcompris/board.c
index 94ae7f5..b48e8d2 100644
--- a/src/gcompris/board.c
+++ b/src/gcompris/board.c
@@ -310,6 +310,12 @@ gc_board_check_file(GcomprisBoard *gcomprisBoard)
     return FALSE;
 #endif
 
+#if defined WIN32 || defined MAC_INTEGRATION
+  /* Some activities are not relevant on some platform */
+  if (strcmp("tuxpaint", gcomprisBoard->name) == 0)
+    return FALSE;
+#endif
+
   /* Check Already loaded */
   if(gcomprisBoard->plugin!=NULL) {
     return TRUE;



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