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
@ -151,7 +151,7 @@ const SearchResultsBase = GObject.registerClass({
|
||||
GTypeFlags: GObject.TypeFlags.ABSTRACT,
|
||||
Properties: {
|
||||
'focus-child': GObject.ParamSpec.object(
|
||||
'focus-child', 'focus-child', 'focus-child',
|
||||
'focus-child', null, null,
|
||||
GObject.ParamFlags.READABLE,
|
||||
Clutter.Actor.$gtype),
|
||||
},
|
||||
@ -339,7 +339,7 @@ class ListSearchResults extends SearchResultsBase {
|
||||
|
||||
const GridSearchResultsLayout = GObject.registerClass({
|
||||
Properties: {
|
||||
'spacing': GObject.ParamSpec.int('spacing', 'Spacing', 'Spacing',
|
||||
'spacing': GObject.ParamSpec.int('spacing', null, null,
|
||||
GObject.ParamFlags.READWRITE, 0, GLib.MAXINT32, 0),
|
||||
},
|
||||
}, class GridSearchResultsLayout extends Clutter.LayoutManager {
|
||||
|
Reference in New Issue
Block a user