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

@ -224,11 +224,11 @@ export const ThumbnailState = {
export const WorkspaceThumbnail = GObject.registerClass({
Properties: {
'collapse-fraction': GObject.ParamSpec.double(
'collapse-fraction', 'collapse-fraction', 'collapse-fraction',
'collapse-fraction', null, null,
GObject.ParamFlags.READWRITE,
0, 1, 0),
'slide-position': GObject.ParamSpec.double(
'slide-position', 'slide-position', 'slide-position',
'slide-position', null, null,
GObject.ParamFlags.READWRITE,
0, 1, 0),
},
@ -574,15 +574,15 @@ export const WorkspaceThumbnail = GObject.registerClass({
export const ThumbnailsBox = GObject.registerClass({
Properties: {
'expand-fraction': GObject.ParamSpec.double(
'expand-fraction', 'expand-fraction', 'expand-fraction',
'expand-fraction', null, null,
GObject.ParamFlags.READWRITE,
0, 1, 1),
'scale': GObject.ParamSpec.double(
'scale', 'scale', 'scale',
'scale', null, null,
GObject.ParamFlags.READWRITE,
0, Infinity, 0),
'should-show': GObject.ParamSpec.boolean(
'should-show', 'should-show', 'should-show',
'should-show', null, null,
GObject.ParamFlags.READABLE,
true),
},