keyboard: Remove dead code
There's no Caribou daemon proxy anymore, no need to shut it down either. https://bugzilla.gnome.org/show_bug.cgi?id=785309
This commit is contained in:
parent
737ba1483c
commit
775d77bf6d
@ -172,7 +172,6 @@ var Keyboard = new Lang.Class({
|
|||||||
this._keyboardSettings.connect('changed', Lang.bind(this, this._sync));
|
this._keyboardSettings.connect('changed', Lang.bind(this, this._sync));
|
||||||
this._a11yApplicationsSettings = new Gio.Settings({ schema_id: A11Y_APPLICATIONS_SCHEMA });
|
this._a11yApplicationsSettings = new Gio.Settings({ schema_id: A11Y_APPLICATIONS_SCHEMA });
|
||||||
this._a11yApplicationsSettings.connect('changed', Lang.bind(this, this._sync));
|
this._a11yApplicationsSettings.connect('changed', Lang.bind(this, this._sync));
|
||||||
this._daemonProxy = null;
|
|
||||||
this._lastDeviceId = null;
|
this._lastDeviceId = null;
|
||||||
|
|
||||||
Caribou.DisplayAdapter.set_default(new LocalAdapter());
|
Caribou.DisplayAdapter.set_default(new LocalAdapter());
|
||||||
@ -339,15 +338,6 @@ var Keyboard = new Lang.Class({
|
|||||||
this.actor = null;
|
this.actor = null;
|
||||||
|
|
||||||
this._destroySource();
|
this._destroySource();
|
||||||
if (this._daemonProxy) {
|
|
||||||
this._daemonProxy.QuitRemote(function (result, error) {
|
|
||||||
if (error) {
|
|
||||||
log(error.message);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
this._daemonProxy = null;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_setupKeyboard: function() {
|
_setupKeyboard: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user