Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/gcompris
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2007-11-11 01:49:22 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2007-11-11 01:49:22 (GMT)
commit0c855d292110b02eefb58899594528f6288990b9 (patch)
tree8ed906fea2c1641182bc0f31d2f98f397d302ffa /src/gcompris
parenteee21e30ccae2f7ebee0dcec554045bd92759cc5 (diff)
Fixed a case where the timer was run twice. if a call to gc_timer_pause is
* src/gcompris/timer.c: (gc_timer_pause): Fixed a case where the timer was run twice. if a call to gc_timer_pause is made while not paused. svn path=/trunk/; revision=3130
Diffstat (limited to 'src/gcompris')
-rw-r--r--src/gcompris/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gcompris/timer.c b/src/gcompris/timer.c
index 54380b9..a529cb1 100644
--- a/src/gcompris/timer.c
+++ b/src/gcompris/timer.c
@@ -196,7 +196,7 @@ gc_timer_pause(gboolean pause)
gtk_timeout_remove (subanimate_id);
subanimate_id = 0;
}
- else
+ else if(paused)
{
start_animation();
}