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
@ -27,13 +27,13 @@ const STATE_CHANGE_FAILED_TIMEOUT_MS = 30 * 1000;
|
||||
|
||||
const BtClient = GObject.registerClass({
|
||||
Properties: {
|
||||
'available': GObject.ParamSpec.boolean('available', '', '',
|
||||
'available': GObject.ParamSpec.boolean('available', null, null,
|
||||
GObject.ParamFlags.READABLE,
|
||||
false),
|
||||
'active': GObject.ParamSpec.boolean('active', '', '',
|
||||
'active': GObject.ParamSpec.boolean('active', null, null,
|
||||
GObject.ParamFlags.READABLE,
|
||||
false),
|
||||
'adapter-state': GObject.ParamSpec.enum('adapter-state', '', '',
|
||||
'adapter-state': GObject.ParamSpec.enum('adapter-state', null, null,
|
||||
GObject.ParamFlags.READABLE,
|
||||
AdapterState, AdapterState.ABSENT),
|
||||
},
|
||||
|
Reference in New Issue
Block a user