From 70ac12a2f252f376423be487b1855fbf9ae3c26d Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Thu, 4 Jun 2009 18:36:28 +0300 Subject: [PATCH] media-export: More use of 'this' keyword. --- src/plugins/media-export/rygel-media-export-container.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/media-export/rygel-media-export-container.vala b/src/plugins/media-export/rygel-media-export-container.vala index f16177c..cdd2d17 100644 --- a/src/plugins/media-export/rygel-media-export-container.vala +++ b/src/plugins/media-export/rygel-media-export-container.vala @@ -53,7 +53,7 @@ public class Rygel.MediaExportContainer : MediaContainer { Cancellable? cancellable, AsyncReadyCallback callback) { // if the cache is empty, fill it - if (items.size == 0) { + if (this.items.size == 0) { var res = new MediaExportDirectorySearchResult (this, offset, max_count, @@ -122,7 +122,7 @@ public class Rygel.MediaExportContainer : MediaContainer { MediaObject item = null; // check if the searched item is in our cache - foreach (var tmp in items) { + foreach (var tmp in this.items) { if (id == tmp.id) { item = tmp; break; @@ -132,7 +132,7 @@ public class Rygel.MediaExportContainer : MediaContainer { // if not found, do a depth-first search on the child // folders if (item == null) { - foreach (var tmp in items) { + foreach (var tmp in this.items) { if (tmp is MediaExportContainer) { var folder = (MediaExportContainer) tmp; item = folder.find_object_sync (id); -- 2.7.4