[gnome-shell] objectManager: fix indentation



commit 5ea75499fe3a646d86c536405ed78dab4bcbd3e1
Author: Ray Strode <rstrode redhat com>
Date:   Thu Aug 22 09:40:12 2013 -0400

    objectManager: fix indentation

 js/misc/objectManager.js |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/js/misc/objectManager.js b/js/misc/objectManager.js
index f7265fe..6998dd2 100644
--- a/js/misc/objectManager.js
+++ b/js/misc/objectManager.js
@@ -71,24 +71,24 @@ const ObjectManager = new Lang.Class({
     },
 
     _addInterface: function(objectPath, interfaceName, onFinished) {
-           let info = this._interfaceInfos[interfaceName];
+        let info = this._interfaceInfos[interfaceName];
 
-           if (!info) {
-               if (onFinished)
-                   onFinished();
-               return;
-           }
-
-           let proxy = new Gio.DBusProxy({ g_connection: this._connection,
-                                           g_name: this._serviceName,
-                                           g_object_path: objectPath,
-                                           g_interface_name: interfaceName,
-                                           g_interface_info: info,
-                                           g_flags: Gio.DBusProxyFlags.NONE });
-
-           proxy.init_async(GLib.PRIORITY_DEFAULT,
-                            this._cancellable,
-                            Lang.bind(this, function(initable, result) {
+        if (!info) {
+           if (onFinished)
+               onFinished();
+           return;
+        }
+
+        let proxy = new Gio.DBusProxy({ g_connection: this._connection,
+                                       g_name: this._serviceName,
+                                       g_object_path: objectPath,
+                                       g_interface_name: interfaceName,
+                                       g_interface_info: info,
+                                       g_flags: Gio.DBusProxyFlags.NONE });
+
+        proxy.init_async(GLib.PRIORITY_DEFAULT,
+                         this._cancellable,
+                         Lang.bind(this, function(initable, result) {
                let error = null;
                try {
                    initable.init_finish(result);


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