[rygel] core: Micro coding-style fixes



commit cad0e2f7031caeffc516210f0c3cc1779c8a2efa
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Mar 24 18:21:36 2010 +0200

    core: Micro coding-style fixes

 src/rygel/rygel-root-device-factory.vala |    3 +--
 src/rygel/rygel-search.vala              |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel/rygel-root-device-factory.vala b/src/rygel/rygel-root-device-factory.vala
index 9bd63bb..04e29c6 100644
--- a/src/rygel/rygel-root-device-factory.vala
+++ b/src/rygel/rygel-root-device-factory.vala
@@ -52,8 +52,7 @@ public class Rygel.RootDeviceFactory {
 
     public RootDevice create (Plugin plugin) throws GLib.Error {
         string modified_desc = plugin.name + ".xml";
-        string desc_path = Path.build_filename (this.desc_dir,
-                                                modified_desc);
+        var desc_path = Path.build_filename (this.desc_dir, modified_desc);
 
         /* Create the description xml */
         var doc = this.create_desc (plugin, desc_path);
diff --git a/src/rygel/rygel-search.vala b/src/rygel/rygel-search.vala
index bd21b8a..333f6ab 100644
--- a/src/rygel/rygel-search.vala
+++ b/src/rygel/rygel-search.vala
@@ -57,8 +57,7 @@ internal class Rygel.Search: GLib.Object, Rygel.StateMachine {
         this.cancellable = content_dir.cancellable;
         this.action = (owned) action;
 
-        this.didl_writer =
-                new Rygel.DIDLLiteWriter (content_dir.http_server);
+        this.didl_writer = new Rygel.DIDLLiteWriter (content_dir.http_server);
 
         try {
             this.xbox_hacks = new XBoxHacks (action.get_message ());



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