Don't mistake GObject.registerClass() for a constructor
Those slipped through when porting from Lang.Class to ES6 classes. Very indirectly spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/388
This commit is contained in:

committed by
Florian Müllner

parent
43fb2b38b1
commit
cdd2803498
@ -159,7 +159,7 @@ var URLHighlighter = class URLHighlighter {
|
||||
}
|
||||
};
|
||||
|
||||
var ScaleLayout = new GObject.registerClass(
|
||||
var ScaleLayout = GObject.registerClass(
|
||||
class ScaleLayout extends Clutter.BinLayout {
|
||||
_init(params) {
|
||||
this._container = null;
|
||||
|
Reference in New Issue
Block a user