From 208c55178707786dc4c616dbf89de835533aff5f Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 26 Nov 2018 13:42:18 +0100 Subject: [PATCH] js: Drop unused Gdk/Gtk imports There's nothing from those modules used in those JS files. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/317 --- js/ui/main.js | 1 - js/ui/notificationDaemon.js | 1 - js/ui/screenshot.js | 1 - js/ui/unlockDialog.js | 1 - 4 files changed, 4 deletions(-) diff --git a/js/ui/main.js b/js/ui/main.js index fccfcb9ef..6e2122273 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -1,7 +1,6 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const Clutter = imports.gi.Clutter; -const Gdk = imports.gi.Gdk; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const Gtk = imports.gi.Gtk; diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index cd871a558..4180609bd 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -4,7 +4,6 @@ const Clutter = imports.gi.Clutter; const GdkPixbuf = imports.gi.GdkPixbuf; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; -const Gtk = imports.gi.Gtk; const Shell = imports.gi.Shell; const Mainloop = imports.mainloop; const St = imports.gi.St; diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index 81534acae..f0e1c4825 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -1,7 +1,6 @@ // -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const Clutter = imports.gi.Clutter; -const Gdk = imports.gi.Gdk; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const Gtk = imports.gi.Gtk; diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index cf48cd1f1..4bab2792b 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -7,7 +7,6 @@ const Gdm = imports.gi.Gdm; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const GnomeDesktop = imports.gi.GnomeDesktop; -const Gtk = imports.gi.Gtk; const Meta = imports.gi.Meta; const Signals = imports.signals; const Shell = imports.gi.Shell;