[rygel] media-export: More use of 'this' keyword.



commit 70ac12a2f252f376423be487b1855fbf9ae3c26d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Jun 4 18:36:28 2009 +0300

    media-export: More use of 'this' keyword.
---
 .../media-export/rygel-media-export-container.vala |    6 +++---
 1 files 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]