From 6e4f54c3512cad737f134b862dc9c75b28fcb765 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 23 Jul 2015 14:49:00 +0200 Subject: [PATCH] keyboard: Don't watch D-Bus services we won't use ff1b76f4c7befe5397d5fcf17fa697d70fcc03d1 made gnome-shell stop looking at the org.gnome.SettingsDaemon.Cursor service's property values, but we still monitored the service itself. https://bugzilla.gnome.org/show_bug.cgi?id=752779 --- js/ui/keyboard.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 3f356b68a..de1fb21f5 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -24,9 +24,6 @@ const KEYBOARD_TYPE = 'keyboard-type'; const A11Y_APPLICATIONS_SCHEMA = 'org.gnome.desktop.a11y.applications'; const SHOW_KEYBOARD = 'screen-keyboard-enabled'; -const CURSOR_BUS_NAME = 'org.gnome.SettingsDaemon.Cursor'; -const CURSOR_OBJECT_PATH = '/org/gnome/SettingsDaemon/Cursor'; - const CARIBOU_BUS_NAME = 'org.gnome.Caribou.Daemon'; const CARIBOU_OBJECT_PATH = '/org/gnome/Caribou/Daemon'; @@ -207,9 +204,6 @@ const 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._watchNameId = Gio.bus_watch_name(Gio.BusType.SESSION, CURSOR_BUS_NAME, 0, - Lang.bind(this, this._sync), - Lang.bind(this, this._sync)); this._daemonProxy = null; this._lastDeviceId = null;