[rygel] media-export: Coding-style fix



commit c3d65e32b98b939591c8624591e4397140c879e5
Author: Jens Georg <mail jensge org>
Date:   Fri Jul 23 22:28:55 2010 +0300

    media-export: Coding-style fix

 .../rygel-media-export-dbus-service.vala           |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-dbus-service.vala b/src/plugins/media-export/rygel-media-export-dbus-service.vala
index 5dade8f..e2aa892 100644
--- a/src/plugins/media-export/rygel-media-export-dbus-service.vala
+++ b/src/plugins/media-export/rygel-media-export-dbus-service.vala
@@ -29,9 +29,10 @@ public class Rygel.MediaExport.DBusService : Object {
         this.root_container = root_container;
 
         try {
-            var conn = DBus.Bus.get (DBus.BusType. SESSION);
-            if (conn != null)
-                conn.register_object (RYGEL_MEDIA_EXPORT_PATH, this);
+            var connection = DBus.Bus.get (DBus.BusType. SESSION);
+            if (connection != null) {
+                connection.register_object (RYGEL_MEDIA_EXPORT_PATH, this);
+            }
         } catch (DBus.Error err) {
             warning (_("Failed to attach to DBus session bus: %s"),
                      err.message);



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