GNOME Bugzilla – Bug 682778
Gnomine 3.5.90: the timer is not stopped at the end of the game
Last modified: 2012-08-28 08:50:16 UTC
Hello, First, thank you for developing all these games! I have a bug with the 3.5.90 version of Gnomine (and not with the previous version but I'm not sure): the timer is not stopped at the end of the game. Also, if I click on 'New Game' at the end of the game, I have this warning on the terminal: (gnomine:5123): GLib-CRITICAL **: g_timer_continue: assertion `timer->active == FALSE' failed I have a patch. It will be added asap ;)
Created attachment 222520 [details] [review] Gnomine: the timer is not stopped at the end This is the patch: Gnomine: the timer is not stopped at the end minefield.vala: The new timer is not stopped at the end of the game. gnomine.vale: If we click on 'New Game' when we are playing, the timer continue and there is this warning if we accept to quit the game: GLib-CRITICAL **: g_timer_continue: assertion `timer->active == FALSE' failed In this situation, I guess it's maybe better to pause the game by using 'toggle_pause_cb ()' except if we just prefer stopping the game if the user accepts to quit the game.
Review of attachment 222520 [details] [review]: Thanks Matthieu!
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Thank you for this quick answer! :)