Skip to content

Commit

Permalink
Removed Module.Settings() function calls at global scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtaala committed Jul 23, 2023
1 parent 54a2677 commit 56451d2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gestures.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module;
const Settings = Module.Settings();
const Settings = Module.Extension.imports.settings;
const Meta = imports.gi.Meta;
const Gio = imports.gi.Gio;
const Clutter = imports.gi.Clutter;
Expand Down
2 changes: 1 addition & 1 deletion grab.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module;
const Settings = Module.Settings();
const Settings = Module.Extension.imports.settings;
const { Meta, Clutter, St, Graphene } = imports.gi;
const Main = imports.ui.main;
const Mainloop = imports.mainloop;
Expand Down
2 changes: 1 addition & 1 deletion liveAltTab.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module;
const Settings = Module.Settings();
const Settings = Module.Extension.imports.settings;
const Easer = Module.Extension.imports.utils.easer;

const {Clutter, Meta, Gio} = imports.gi;
Expand Down
2 changes: 1 addition & 1 deletion minimap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module;
const Settings = Module.Settings();
const Settings = Module.Extension.imports.settings;
const Easer = Module.Extension.imports.utils.easer;

const Clutter = imports.gi.Clutter;
Expand Down
2 changes: 1 addition & 1 deletion stackoverlay.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module;
const Settings = Module.Settings();
const Settings = Module.Extension.imports.settings;

const {Clutter, Shell, Meta, St} = imports.gi;
const Main = imports.ui.main;
Expand Down
2 changes: 1 addition & 1 deletion tiling.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module;
const Settings = Module.Settings();
const Settings = Module.Extension.imports.settings;
const Easer = Module.Extension.imports.utils.easer;
const ClickOverlay = Module.Extension.imports.stackoverlay.ClickOverlay;

Expand Down
2 changes: 1 addition & 1 deletion topbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Functionality related to the top bar, often called the statusbar.
*/
const Module = imports.misc.extensionUtils.getCurrentExtension().imports.module;
const Settings = Module.Settings();
const Settings = Module.Extension.imports.settings;
const Easer = Module.Extension.imports.utils.easer;

const {Clutter, St, Graphene, GLib, Meta, Gio} = imports.gi;
Expand Down

0 comments on commit 56451d2

Please sign in to comment.