[sushi/wip/cosimoc/no-clutter: 50/67] Remove unused imports
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/wip/cosimoc/no-clutter: 50/67] Remove unused imports
- Date: Mon, 30 Apr 2018 15:17:51 +0000 (UTC)
commit 5f41957a3b9f19f4975af4d1fe98d22042ed33cb
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Apr 3 12:11:29 2017 -0700
Remove unused imports
src/js/ui/fallbackRenderer.js | 2 --
src/js/ui/mainWindow.js | 1 -
src/js/ui/utils.js | 2 --
src/js/viewers/font.js | 1 -
4 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/js/ui/fallbackRenderer.js b/src/js/ui/fallbackRenderer.js
index 075053b..2e209d4 100644
--- a/src/js/ui/fallbackRenderer.js
+++ b/src/js/ui/fallbackRenderer.js
@@ -32,8 +32,6 @@ const Gettext = imports.gettext.domain('sushi');
const _ = Gettext.gettext;
const Lang = imports.lang;
-const Utils = imports.ui.utils;
-
const FallbackRenderer = new Lang.Class({
Name: 'FallbackRenderer',
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index 69a24a1..c2dc723 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -38,7 +38,6 @@ const Sushi = imports.gi.Sushi;
const Constants = imports.util.constants;
const MimeHandler = imports.ui.mimeHandler;
const SpinnerBox = imports.ui.spinnerBox;
-const Utils = imports.ui.utils;
const MainWindow = new Lang.Class({
Name: 'MainWindow',
diff --git a/src/js/ui/utils.js b/src/js/ui/utils.js
index a382bae..05a4fee 100644
--- a/src/js/ui/utils.js
+++ b/src/js/ui/utils.js
@@ -28,8 +28,6 @@ const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
-const Constants = imports.util.constants;
-
function getScaledSize(baseSize, allocSize, upscale) {
let allocW = allocSize[0];
let allocH = allocSize[1];
diff --git a/src/js/viewers/font.js b/src/js/viewers/font.js
index 5e97df7..4871f76 100644
--- a/src/js/viewers/font.js
+++ b/src/js/viewers/font.js
@@ -24,7 +24,6 @@
*/
const MimeHandler = imports.ui.mimeHandler;
-const Utils = imports.ui.utils;
const Lang = imports.lang;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]