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
@ -29,11 +29,11 @@ cogl_color_out.a += (rand(position) - 0.5) / 100.0; \n';
|
||||
const RadialShaderEffect = GObject.registerClass({
|
||||
Properties: {
|
||||
'brightness': GObject.ParamSpec.float(
|
||||
'brightness', 'brightness', 'brightness',
|
||||
'brightness', null, null,
|
||||
GObject.ParamFlags.READWRITE,
|
||||
0, 1, 1),
|
||||
'sharpness': GObject.ParamSpec.float(
|
||||
'sharpness', 'sharpness', 'sharpness',
|
||||
'sharpness', null, null,
|
||||
GObject.ParamFlags.READWRITE,
|
||||
0, 1, 0),
|
||||
},
|
||||
@ -89,7 +89,7 @@ const RadialShaderEffect = GObject.registerClass({
|
||||
export const Lightbox = GObject.registerClass({
|
||||
Properties: {
|
||||
'active': GObject.ParamSpec.boolean(
|
||||
'active', 'active', 'active', GObject.ParamFlags.READABLE, false),
|
||||
'active', null, null, GObject.ParamFlags.READABLE, false),
|
||||
},
|
||||
}, class Lightbox extends St.Bin {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user