linuxmint/Cinnamon — pull request #3260 by rmunn (2014-06-11 03:29:47+00:00)
Title: Fix #2080: sound applet now shows correct time

Every time a new song was loaded in any player, the Cinnamon sound
applet would register a new timeout function to run every second and add
one to the current playtime displayed, but the timeout was never being
deregistered. So after the second song was started, there were two
timeouts operating, and two seconds were being added each time.

This patch removes the previous timeout before setting a new one, so
that only one "add one second" function will be called every second.