[polari/wip/fmuellner/cleanups: 6/11] cleanups: Remove unused imports



commit 8abb0ed5c39ec4eb5b512c73fc6a0bd9adcadd9a
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Nov 10 01:38:06 2017 +0100

    cleanups: Remove unused imports

 src/appNotifications.js  | 1 -
 src/chatView.js          | 1 -
 src/connections.js       | 1 -
 src/joinDialog.js        | 2 --
 src/mainWindow.js        | 7 +++----
 src/pasteManager.js      | 2 --
 src/roomList.js          | 1 -
 src/serverRoomManager.js | 1 -
 src/telepathyClient.js   | 1 -
 src/userList.js          | 1 -
 src/userTracker.js       | 1 -
 src/utils.js             | 1 -
 12 files changed, 3 insertions(+), 17 deletions(-)
---
diff --git a/src/appNotifications.js b/src/appNotifications.js
index 559f29c..334045c 100644
--- a/src/appNotifications.js
+++ b/src/appNotifications.js
@@ -1,7 +1,6 @@
 const GObject = imports.gi.GObject;
 const Gtk = imports.gi.Gtk;
 const Pango = imports.gi.Pango;
-const Tp = imports.gi.TelepathyGLib;
 
 const Lang = imports.lang;
 const Mainloop = imports.mainloop;
diff --git a/src/chatView.js b/src/chatView.js
index ea89ce8..f025518 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -12,7 +12,6 @@ const Tpl = imports.gi.TelepathyLogger;
 const Lang = imports.lang;
 const Mainloop = imports.mainloop;
 const PasteManager = imports.pasteManager;
-const Signals = imports.signals;
 const Utils = imports.utils;
 const UserTracker = imports.userTracker;
 const UserList = imports.userList;
diff --git a/src/connections.js b/src/connections.js
index 1ec28ff..0989f36 100644
--- a/src/connections.js
+++ b/src/connections.js
@@ -2,7 +2,6 @@ const GLib = imports.gi.GLib;
 const GObject = imports.gi.GObject;
 const Gtk = imports.gi.Gtk;
 const Lang = imports.lang;
-const Signals = imports.signals;
 const Tp = imports.gi.TelepathyGLib;
 
 const AccountsMonitor = imports.accountsMonitor;
diff --git a/src/joinDialog.js b/src/joinDialog.js
index 856a057..00f7a07 100644
--- a/src/joinDialog.js
+++ b/src/joinDialog.js
@@ -2,11 +2,9 @@ const Gdk = imports.gi.Gdk;
 const Gio = imports.gi.Gio;
 const GLib = imports.gi.GLib;
 const Gtk = imports.gi.Gtk;
-const Tp = imports.gi.TelepathyGLib;
 const GObject = imports.gi.GObject;
 
 const AccountsMonitor = imports.accountsMonitor;
-const Connections = imports.connections;
 const Lang = imports.lang;
 const Utils = imports.utils;
 
diff --git a/src/mainWindow.js b/src/mainWindow.js
index c59a3c3..8014208 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -7,14 +7,13 @@ const Polari = imports.gi.Polari;
 const Tp = imports.gi.TelepathyGLib;
 
 const AccountsMonitor = imports.accountsMonitor;
-const AppNotifications = imports.appNotifications;
 const JoinDialog = imports.joinDialog;
 const Lang = imports.lang;
 const Mainloop = imports.mainloop;
-const RoomList = imports.roomList;
+const RoomList = imports.roomList; // used in template
 const RoomManager = imports.roomManager;
-const RoomStack = imports.roomStack;
-const UserList = imports.userList;
+const RoomStack = imports.roomStack; // used in template
+const UserList = imports.userList; // used in template
 const Utils = imports.utils;
 
 
diff --git a/src/pasteManager.js b/src/pasteManager.js
index 4671c71..89084a5 100644
--- a/src/pasteManager.js
+++ b/src/pasteManager.js
@@ -5,9 +5,7 @@ const Gio = imports.gi.Gio;
 const GObject = imports.gi.GObject;
 const Gtk = imports.gi.Gtk;
 const Polari = imports.gi.Polari;
-const Tp = imports.gi.TelepathyGLib;
 
-const AppNotifications = imports.appNotifications;
 const Lang = imports.lang;
 const Utils = imports.utils;
 
diff --git a/src/roomList.js b/src/roomList.js
index 708df77..e151b38 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -3,7 +3,6 @@ const Gio = imports.gi.Gio;
 const GLib = imports.gi.GLib;
 const GObject = imports.gi.GObject;
 const Gtk = imports.gi.Gtk;
-const Pango = imports.gi.Pango;
 const Tp = imports.gi.TelepathyGLib;
 
 const AccountsMonitor = imports.accountsMonitor;
diff --git a/src/serverRoomManager.js b/src/serverRoomManager.js
index 3bc60a3..7faf0a5 100644
--- a/src/serverRoomManager.js
+++ b/src/serverRoomManager.js
@@ -2,7 +2,6 @@ const GLib = imports.gi.GLib;
 const GObject = imports.gi.GObject;
 const Gtk = imports.gi.Gtk;
 const Gdk = imports.gi.Gdk;
-const Pango = imports.gi.Pango;
 const Tp = imports.gi.TelepathyGLib;
 
 const AccountsMonitor = imports.accountsMonitor;
diff --git a/src/telepathyClient.js b/src/telepathyClient.js
index c1a7264..fe150c6 100644
--- a/src/telepathyClient.js
+++ b/src/telepathyClient.js
@@ -7,7 +7,6 @@ const Tp = imports.gi.TelepathyGLib;
 const AccountsMonitor = imports.accountsMonitor;
 const Lang = imports.lang;
 const RoomManager = imports.roomManager;
-const Signals = imports.signals;
 const Utils = imports.utils;
 
 const SASLAuthenticationIface = '<node> \
diff --git a/src/userList.js b/src/userList.js
index 8364048..f32b1ab 100644
--- a/src/userList.js
+++ b/src/userList.js
@@ -1,4 +1,3 @@
-const Gdk = imports.gi.Gdk;
 const Gio = imports.gi.Gio;
 const GLib = imports.gi.GLib;
 const GObject = imports.gi.GObject;
diff --git a/src/userTracker.js b/src/userTracker.js
index b0506a6..3c0d833 100644
--- a/src/userTracker.js
+++ b/src/userTracker.js
@@ -1,7 +1,6 @@
 const Polari = imports.gi.Polari;
 const Lang = imports.lang;
 const Tp = imports.gi.TelepathyGLib;
-const Signals = imports.signals;
 const GObject = imports.gi.GObject;
 const Utils = imports.utils;
 const Gio = imports.gi.Gio;
diff --git a/src/utils.js b/src/utils.js
index 21b97c8..fe61d05 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -29,7 +29,6 @@ const Secret = imports.gi.Secret;
 const Tp = imports.gi.TelepathyGLib;
 
 const AppNotifications = imports.appNotifications;
-const Signals = imports.signals;
 
 const SECRET_SCHEMA_ACCOUNT = new Secret.Schema(
     'org.gnome.Polari.Account', Secret.SchemaFlags.NONE,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]