[gnome-shell/wip/carlosg/cleanup-gtk-usage: 2/12] js: Drop unused Gdk/Gtk imports



commit 09d33ef7b48f0fa9ef5a80ca7ffa9e94c7430043
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Nov 26 13:42:18 2018 +0100

    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 0a456f039..e8ac73294 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;


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