[rygel] core: Use 'this' keyword for more readable code
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Use 'this' keyword for more readable code
- Date: Wed, 17 Feb 2010 13:40:04 +0000 (UTC)
commit 9a16fca75409c2eaa2009d946c4411908a6127ae
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Jan 26 16:53:24 2010 +0200
core: Use 'this' keyword for more readable code
src/rygel/rygel-http-item-uri.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel/rygel-http-item-uri.vala b/src/rygel/rygel-http-item-uri.vala
index 68d04ec..4c2dfb2 100644
--- a/src/rygel/rygel-http-item-uri.vala
+++ b/src/rygel/rygel-http-item-uri.vala
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]