objectManager: fix indentation
This commit is contained in:
parent
d29b86baf0
commit
5ea75499fe
@ -71,24 +71,24 @@ const ObjectManager = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_addInterface: function(objectPath, interfaceName, onFinished) {
|
_addInterface: function(objectPath, interfaceName, onFinished) {
|
||||||
let info = this._interfaceInfos[interfaceName];
|
let info = this._interfaceInfos[interfaceName];
|
||||||
|
|
||||||
if (!info) {
|
if (!info) {
|
||||||
if (onFinished)
|
if (onFinished)
|
||||||
onFinished();
|
onFinished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let proxy = new Gio.DBusProxy({ g_connection: this._connection,
|
let proxy = new Gio.DBusProxy({ g_connection: this._connection,
|
||||||
g_name: this._serviceName,
|
g_name: this._serviceName,
|
||||||
g_object_path: objectPath,
|
g_object_path: objectPath,
|
||||||
g_interface_name: interfaceName,
|
g_interface_name: interfaceName,
|
||||||
g_interface_info: info,
|
g_interface_info: info,
|
||||||
g_flags: Gio.DBusProxyFlags.NONE });
|
g_flags: Gio.DBusProxyFlags.NONE });
|
||||||
|
|
||||||
proxy.init_async(GLib.PRIORITY_DEFAULT,
|
proxy.init_async(GLib.PRIORITY_DEFAULT,
|
||||||
this._cancellable,
|
this._cancellable,
|
||||||
Lang.bind(this, function(initable, result) {
|
Lang.bind(this, function(initable, result) {
|
||||||
let error = null;
|
let error = null;
|
||||||
try {
|
try {
|
||||||
initable.init_finish(result);
|
initable.init_finish(result);
|
||||||
|
Loading…
Reference in New Issue
Block a user