[gnome-shell/wip/carlosg/cleanup-gtk-usage: 30/40] js: Drop unused Gdk/Gtk imports
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/cleanup-gtk-usage: 30/40] js: Drop unused Gdk/Gtk imports
- Date: Wed, 30 Jan 2019 17:16:13 +0000 (UTC)
commit 6904471db01bf32edb819b782b9fad6d3a6936dd
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.
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]