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:
Bilal Elmoussaoui
2024-10-16 11:51:23 +02:00
committed by Marge Bot
parent 91a9409b1d
commit aa0f2c4915
70 changed files with 293 additions and 537 deletions

View File

@ -57,15 +57,15 @@ export function getGeoclueAgent() {
const GeoclueAgent = GObject.registerClass({
Properties: {
'enabled': GObject.ParamSpec.boolean(
'enabled', 'Enabled', 'Enabled',
'enabled', null, null,
GObject.ParamFlags.READWRITE,
false),
'in-use': GObject.ParamSpec.boolean(
'in-use', 'In use', 'In use',
'in-use', null, null,
GObject.ParamFlags.READABLE,
false),
'max-accuracy-level': GObject.ParamSpec.int(
'max-accuracy-level', 'Max accuracy level', 'Max accuracy level',
'max-accuracy-level', null, null,
GObject.ParamFlags.READABLE,
0, 8, 0),
},