[rygel/rygel-0-22] renderer: Clear timeout after removing it
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-22] renderer: Clear timeout after removing it
- Date: Sat, 26 Jul 2014 06:40:00 +0000 (UTC)
commit 8c0c618249843449283c7b403555d1bb2472d710
Author: Jens Georg <mail jensge org>
Date: Sat Jun 21 19:56:43 2014 +0200
renderer: Clear timeout after removing it
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-renderer/rygel-player-controller.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-player-controller.vala
b/src/librygel-renderer/rygel-player-controller.vala
index e6975f9..24f8469 100644
--- a/src/librygel-renderer/rygel-player-controller.vala
+++ b/src/librygel-renderer/rygel-player-controller.vala
@@ -255,8 +255,8 @@ internal class Rygel.PlayerController : Object {
string? features)
{
if (this.timeout_id != 0) {
- this.timeout_id = 0;
Source.remove (this.timeout_id);
+ this.timeout_id = 0;
}
this.metadata = this.unescape (metadata);
@@ -283,8 +283,8 @@ internal class Rygel.PlayerController : Object {
string metadata,
MediaCollection collection) {
if (this.timeout_id != 0) {
- this.timeout_id = 0;
Source.remove (this.timeout_id);
+ this.timeout_id = 0;
}
this.metadata = this.unescape (metadata);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]