core: Use 'this' keyword for more readable code
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Tue, 26 Jan 2010 14:53:24 +0000 (16:53 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 3 Feb 2010 13:38:48 +0000 (15:38 +0200)
src/rygel/rygel-http-item-uri.vala

index 68d04ec..4c2dfb2 100644 (file)
@@ -81,11 +81,11 @@ internal class Rygel.HTTPItemURI : Object {
                                          true);
         string path = "/item/" + escaped;
 
-        if (transcode_target != null) {
-            escaped = Uri.escape_string (transcode_target, "", true);
+        if (this.transcode_target != null) {
+            escaped = Uri.escape_string (this.transcode_target, "", true);
             path += "/transcoded/" + escaped;
-        } else if (thumbnail_index >= 0) {
-            path += "/thumbnail/" + thumbnail_index.to_string ();
+        } else if (this.thumbnail_index >= 0) {
+            path += "/thumbnail/" + this.thumbnail_index.to_string ();
         }
 
         return this.create_uri_for_path (path);