[gnome-shell/wip/fmuellner/update-lg-imports] lookingGlass: Include St in default imports instead of Gtk
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/update-lg-imports] lookingGlass: Include St in default imports instead of Gtk
- Date: Sat, 9 Feb 2019 04:03:56 +0000 (UTC)
commit d9e8bede7c579759653d7bffbceae1cfcdea6f94
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Feb 9 04:56:58 2019 +0100
lookingGlass: Include St in default imports instead of Gtk
Until commit 467b7c1bcacebdc, the import used to leak into the
eval() environment, but not anymore. Add it back (and remove
Gtk, as it's not *that* useful).
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/398
js/ui/lookingGlass.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js
index 185ed421a..1bf681d88 100644
--- a/js/ui/lookingGlass.js
+++ b/js/ui/lookingGlass.js
@@ -28,10 +28,10 @@ var commandHeader = 'const Clutter = imports.gi.Clutter; ' +
'const GLib = imports.gi.GLib; ' +
'const GObject = imports.gi.GObject; ' +
'const Gio = imports.gi.Gio; ' +
- 'const Gtk = imports.gi.Gtk; ' +
'const Mainloop = imports.mainloop; ' +
'const Meta = imports.gi.Meta; ' +
'const Shell = imports.gi.Shell; ' +
+ 'const St = imports.gi.St; ' +
'const Main = imports.ui.main; ' +
'const Tweener = imports.ui.tweener; ' +
/* Utility functions...we should probably be able to use these
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]