[gcompris] electric, melody: removed call to deprecated functions.



commit 2b0f93bc6752652ca22ff1bc839a420e39a21af1
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sun May 15 03:43:24 2011 +0200

    electric, melody: removed call to deprecated functions.

 src/electric-activity/electric.py |    3 +--
 src/melody-activity/melody.py     |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/electric-activity/electric.py b/src/electric-activity/electric.py
index d8d6062..d558aec 100644
--- a/src/electric-activity/electric.py
+++ b/src/electric-activity/electric.py
@@ -1674,5 +1674,4 @@ class Selector:
     # ------------------------------------------------------------
 
 def stop_board():
-    gcompris.bonus.board_finished(gcompris.bonus.FINISHED_RANDOM)
-
+  pass
diff --git a/src/melody-activity/melody.py b/src/melody-activity/melody.py
index 6f7fb5e..3135681 100644
--- a/src/melody-activity/melody.py
+++ b/src/melody-activity/melody.py
@@ -392,5 +392,5 @@ class Gcompris_melody:
     self.pause(0)
 
 def stop_board():
-  gcompris.bonus.board_finished(gcompris.bonus.FINISHED_RANDOM)
+  pass
 



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