cleanup: Use null for nick/blurb in ParamSpecs

As they are only used by gstreamer for gst-inspect & other tools.
Projects like mutter and gtk have already completely dropped them,
so follow their lead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/347>
(cherry picked from commit 46a4fa0976)
This commit is contained in:
Florian Müllner
2024-10-17 22:52:17 +02:00
parent b13984a752
commit 099b2eeb49
3 changed files with 7 additions and 7 deletions
@@ -113,11 +113,11 @@ class WorkspaceLayout extends Clutter.LayoutManager {
class WorkspaceThumbnail extends St.Button {
static [GObject.properties] = {
'active': GObject.ParamSpec.boolean(
'active', '', '',
'active', null, null,
GObject.ParamFlags.READWRITE,
false),
'show-label': GObject.ParamSpec.boolean(
'show-label', '', '',
'show-label', null, null,
GObject.ParamFlags.READWRITE,
false),
};
@@ -311,7 +311,7 @@ class WorkspaceThumbnail extends St.Button {
class WorkspacePreviews extends Clutter.Actor {
static [GObject.properties] = {
'show-labels': GObject.ParamSpec.boolean(
'show-labels', '', '',
'show-labels', null, null,
GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
false),
};