[gnome-chess] g_timer_elapsed: assertion 'timer != NULL' failed
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] g_timer_elapsed: assertion 'timer != NULL' failed
- Date: Sat, 3 Aug 2013 21:55:20 +0000 (UTC)
commit 4334c18d691a4fb003f75e5adbabe42b3185f12f
Author: Michael Catanzaro <mike catanzaro gmail com>
Date: Sat Aug 3 16:54:52 2013 -0500
g_timer_elapsed: assertion 'timer != NULL' failed
src/chess-clock.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/chess-clock.vala b/src/chess-clock.vala
index 7487a58..2902799 100644
--- a/src/chess-clock.vala
+++ b/src/chess-clock.vala
@@ -162,7 +162,7 @@ public class ChessClock : Object
public void unpause ()
{
- if (is_active)
+ if (timer == null || is_active)
return;
timer continue ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]