[rygel] media-expor: Minor code-style fixes



commit 8192e79b6085a1891141f7db0372b4b40627f0ef
Author: Jens Georg <jensg openismus com>
Date:   Mon Jan 28 21:52:38 2013 +0100

    media-expor: Minor code-style fixes

 .../rygel-media-export-root-container.vala         |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index 1ee32ad..f54a934 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -368,8 +368,9 @@ public class Rygel.MediaExport.RootContainer : TrackableDbContainer {
 
     private void init () throws Error {
         // This should only be called once.
-        if (this.initialized)
+        if (this.initialized) {
             return;
+        }
 
         this.initialized = true;
         this.cancellable = new Cancellable ();
@@ -428,7 +429,7 @@ public class Rygel.MediaExport.RootContainer : TrackableDbContainer {
             }
         }
 
-        root_updated ();
+        this.root_updated ();
     }
 
     // Signal that the container has been updated with new/changed content.
@@ -455,13 +456,13 @@ public class Rygel.MediaExport.RootContainer : TrackableDbContainer {
         this.add_default_virtual_folders ();
 
         // Signal that the container has changed:
-        root_updated ();
+        this.root_updated ();
 
         // When the filesystem container changes,
         // re-add the virtual folders, to update them.
         this.filesystem_container.container_updated.connect( () => {
             this.add_default_virtual_folders ();
-            root_updated ();
+            this.root_updated ();
         });
     }
 



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