Use NULL for nick/blurb in GObject params
As they are only used by gstreamer for gst-inspect & other tools. Projects like Mutter/gtk have completely dropped them as well, so follow their path Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3505>
This commit is contained in:

committed by
Marge Bot

parent
91a9409b1d
commit
aa0f2c4915
@ -65,11 +65,11 @@ export function arrowIcon(side) {
|
||||
export const PopupBaseMenuItem = GObject.registerClass({
|
||||
Properties: {
|
||||
'active': GObject.ParamSpec.boolean(
|
||||
'active', 'active', 'active',
|
||||
'active', null, null,
|
||||
GObject.ParamFlags.READWRITE,
|
||||
false),
|
||||
'sensitive': GObject.ParamSpec.boolean(
|
||||
'sensitive', 'sensitive', 'sensitive',
|
||||
'sensitive', null, null,
|
||||
GObject.ParamFlags.READWRITE,
|
||||
true),
|
||||
},
|
||||
@ -330,7 +330,7 @@ class PopupSeparatorMenuItem extends PopupBaseMenuItem {
|
||||
export const Switch = GObject.registerClass({
|
||||
Properties: {
|
||||
'state': GObject.ParamSpec.boolean(
|
||||
'state', 'state', 'state',
|
||||
'state', null, null,
|
||||
GObject.ParamFlags.READWRITE,
|
||||
false),
|
||||
},
|
||||
|
Reference in New Issue
Block a user