[rygel/wip/acl: 302/306] renderer: Minor style fix
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/acl: 302/306] renderer: Minor style fix
- Date: Sun, 12 Apr 2015 13:46:08 +0000 (UTC)
commit 2e8e29c4726cfa14575b8b6d20e1c3eb405d4c5d
Author: Jens Georg <mail jensge org>
Date: Sun Apr 12 01:10:58 2015 +0200
renderer: Minor style fix
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-renderer/rygel-changelog.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-changelog.vala b/src/librygel-renderer/rygel-changelog.vala
index 4f3933d..4b38552 100644
--- a/src/librygel-renderer/rygel-changelog.vala
+++ b/src/librygel-renderer/rygel-changelog.vala
@@ -26,7 +26,7 @@ using Gee;
// Helper class for building LastChange messages
internal class Rygel.ChangeLog : Object {
- public WeakRef service;
+ private WeakRef service;
private string service_ns;
@@ -37,7 +37,7 @@ internal class Rygel.ChangeLog : Object {
private uint timeout_id = 0;
public ChangeLog (Service? service, string service_ns) {
- this.service = WeakRef(service);
+ this.service = WeakRef (service);
this.service_ns = service_ns;
this.str = new StringBuilder ();
this.hash = new HashMap<string, string> ();
@@ -51,7 +51,7 @@ internal class Rygel.ChangeLog : Object {
private bool timeout () {
// Check whether the AVTransport service has not been destroyed already
- Service? service = (Service?)this.service.get();
+ var service = this.service.get () as Service;
if (service == null)
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]