windowCycler: Create settings before chaining up

It's used in _getWindows() which is called from the parent's _init().

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1064
This commit is contained in:
Florian Müllner 2019-03-16 23:22:29 +01:00 committed by Georges Basile Stavracas Neto
parent 6e317a54fd
commit 31e7f0340f

View File

@ -619,9 +619,8 @@ class WindowSwitcherPopup extends SwitcherPopup.SwitcherPopup {
var WindowCyclerPopup = GObject.registerClass(
class WindowCyclerPopup extends CyclerPopup {
_init() {
super._init();
this._settings = new Gio.Settings({ schema_id: 'org.gnome.shell.window-switcher' });
super._init();
}
_getWindows() {