[gnome-shell] keyboard: Remove dead code
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] keyboard: Remove dead code
- Date: Sun, 23 Jul 2017 14:29:55 +0000 (UTC)
commit 775d77bf6dd4bd93e6afa5639f4972df89f92940
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Jul 23 13:40:31 2017 +0200
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
js/ui/keyboard.js | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 1a04724..a0732f5 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -172,7 +172,6 @@ var Keyboard = new Lang.Class({
this._keyboardSettings.connect('changed', Lang.bind(this, this._sync));
this._a11yApplicationsSettings = new Gio.Settings({ schema_id: A11Y_APPLICATIONS_SCHEMA });
this._a11yApplicationsSettings.connect('changed', Lang.bind(this, this._sync));
- this._daemonProxy = null;
this._lastDeviceId = null;
Caribou.DisplayAdapter.set_default(new LocalAdapter());
@@ -339,15 +338,6 @@ var Keyboard = new Lang.Class({
this.actor = null;
this._destroySource();
- if (this._daemonProxy) {
- this._daemonProxy.QuitRemote(function (result, error) {
- if (error) {
- log(error.message);
- return;
- }
- });
- this._daemonProxy = null;
- }
},
_setupKeyboard: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]