[Xfce4-commits] <parole:master> Remove redundant check for state_playing The signal only gets emitted if the state is "playing" anyway
Simon Steinbeiss
noreply at xfce.org
Tue Mar 5 12:58:03 CET 2013
Updating branch refs/heads/master
to 7be7fe6aa63dca921dbadeb48bb84724109b3038 (commit)
from 048762589625479a1504c6fb2090e4e5782cf3c2 (commit)
commit 7be7fe6aa63dca921dbadeb48bb84724109b3038
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Tue Mar 5 12:54:16 2013 +0100
Remove redundant check for state_playing
The signal only gets emitted if the state is "playing" anyway
src/parole-player.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/parole-player.c b/src/parole-player.c
index 38932b4..e906b9c 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -1231,7 +1231,7 @@ parole_player_media_progressed_cb (ParoleGst *gst, const ParoleStream *stream, g
g_return_if_fail (value > 0);
#endif
- if ( !player->priv->user_seeking && player->priv->state == PAROLE_STATE_PLAYING )
+ if (!player->priv->user_seeking)
{
parole_player_change_range_value (player, value);
}
More information about the Xfce4-commits
mailing list