From db1c65970bdf40fd97920bee0b45995e5e98bacc Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 11 Sep 2013 14:38:16 -0400 Subject: [PATCH] Remove various E4X junk remove4x can't handle --- js/misc/objectManager.js | 2 +- js/ui/magnifierDBus.js | 6 ++---- js/ui/status/keyboard.js | 3 +-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/js/misc/objectManager.js b/js/misc/objectManager.js index 6998dd2e0..0782bf026 100644 --- a/js/misc/objectManager.js +++ b/js/misc/objectManager.js @@ -20,7 +20,7 @@ const ObjectManagerIface = - +; const ObjectManagerInfo = Gio.DBusInterfaceInfo.new_for_xml(ObjectManagerIface); diff --git a/js/ui/magnifierDBus.js b/js/ui/magnifierDBus.js index 8204e72e3..ac710ff1f 100644 --- a/js/ui/magnifierDBus.js +++ b/js/ui/magnifierDBus.js @@ -4,14 +4,12 @@ const Gio = imports.gi.Gio; const Lang = imports.lang; const Main = imports.ui.main; -const MAG_SERVICE_NAME = 'org.gnome.Magnifier'; const MAG_SERVICE_PATH = '/org/gnome/Magnifier'; -const ZOOM_SERVICE_NAME = 'org.gnome.Magnifier.ZoomRegion'; const ZOOM_SERVICE_PATH = '/org/gnome/Magnifier/ZoomRegion'; // Subset of gnome-mag's Magnifier dbus interface -- to be expanded. See: // http://git.gnome.org/browse/gnome-mag/tree/xml/...Magnifier.xml -const MagnifierIface = +const MagnifierIface = @@ -66,7 +64,7 @@ const MagnifierIface = // Subset of gnome-mag's ZoomRegion dbus interface -- to be expanded. See: // http://git.gnome.org/browse/gnome-mag/tree/xml/...ZoomRegion.xml -const ZoomRegionIface = +const ZoomRegionIface = diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index 9ac635f02..5e93a8cf5 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -41,8 +41,7 @@ const MAX_INPUT_SOURCE_ACTIVATION_TIME = 4000; // ms const BUS_NAME = 'org.gnome.SettingsDaemon.Keyboard'; const OBJECT_PATH = '/org/gnome/SettingsDaemon/Keyboard'; -const KeyboardManagerInterface = - +const KeyboardManagerInterface =