Remove all nicks and blurbs from param specs

Nicks and blurbs don't have any practical use for gio/gobject libraries.
Leaving tests untouched since this features is still used by other libraries.

Closes #2991
This commit is contained in:
Sophie Herold
2023-04-28 01:59:26 +02:00
committed by Philip Withnall
parent f3aebf0c15
commit 0d268c4825
94 changed files with 306 additions and 893 deletions

View File

@@ -143,9 +143,7 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
* Since: 2.32
*/
g_object_class_install_property (gobject_class, PROP_FAMILY,
g_param_spec_enum ("family",
P_("Address family"),
P_("The address family (IPv4 or IPv6)"),
g_param_spec_enum ("family", NULL, NULL,
G_TYPE_SOCKET_FAMILY,
G_SOCKET_FAMILY_INVALID,
G_PARAM_READABLE |
@@ -159,9 +157,7 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
* Since: 2.32
*/
g_object_class_install_property (gobject_class, PROP_ADDRESS,
g_param_spec_object ("address",
P_("Address"),
P_("The base address"),
g_param_spec_object ("address", NULL, NULL,
G_TYPE_INET_ADDRESS,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
@@ -174,9 +170,7 @@ g_inet_address_mask_class_init (GInetAddressMaskClass *klass)
* Since: 2.32
*/
g_object_class_install_property (gobject_class, PROP_LENGTH,
g_param_spec_uint ("length",
P_("Length"),
P_("The prefix length"),
g_param_spec_uint ("length", NULL, NULL,
0, 128, 0,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));