popupMenu: Remove extra parameter on boolean ParamSpec initialization

PopupBaseMenuItem properties were initialized using wrong param spec
signature, fix this by removing the extra parameter.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700
This commit is contained in:
Marco Trevisan (Treviño) 2019-08-09 02:17:49 +02:00 committed by Florian Müllner
parent 27da3ed1fe
commit 15c252c11d

View File

@ -57,11 +57,9 @@ var PopupBaseMenuItem = GObject.registerClass({
Properties: { Properties: {
'active': GObject.ParamSpec.boolean('active', 'active', 'active', 'active': GObject.ParamSpec.boolean('active', 'active', 'active',
GObject.ParamFlags.READWRITE, GObject.ParamFlags.READWRITE,
GObject.TYPE_BOOLEAN,
false), false),
'sensitive': GObject.ParamSpec.boolean('sensitive', 'sensitive', 'sensitive', 'sensitive': GObject.ParamSpec.boolean('sensitive', 'sensitive', 'sensitive',
GObject.ParamFlags.READWRITE, GObject.ParamFlags.READWRITE,
GObject.TYPE_BOOLEAN,
true), true),
}, },
Signals: { Signals: {