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

@@ -122,9 +122,7 @@ g_network_service_class_init (GNetworkServiceClass *klass)
* Since: 2.22
*/
g_object_class_install_property (gobject_class, PROP_SERVICE,
g_param_spec_string ("service",
P_("Service"),
P_("Service name, eg \"ldap\""),
g_param_spec_string ("service", NULL, NULL,
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
@@ -138,9 +136,7 @@ g_network_service_class_init (GNetworkServiceClass *klass)
* Since: 2.22
*/
g_object_class_install_property (gobject_class, PROP_PROTOCOL,
g_param_spec_string ("protocol",
P_("Protocol"),
P_("Network protocol, eg \"tcp\""),
g_param_spec_string ("protocol", NULL, NULL,
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
@@ -154,9 +150,7 @@ g_network_service_class_init (GNetworkServiceClass *klass)
* Since: 2.22
*/
g_object_class_install_property (gobject_class, PROP_DOMAIN,
g_param_spec_string ("domain",
P_("Domain"),
P_("Network domain, eg, \"example.com\""),
g_param_spec_string ("domain", NULL, NULL,
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
@@ -170,9 +164,7 @@ g_network_service_class_init (GNetworkServiceClass *klass)
* Since: 2.22
*/
g_object_class_install_property (gobject_class, PROP_DOMAIN,
g_param_spec_string ("scheme",
P_("Scheme"),
P_("Network scheme (default is to use service)"),
g_param_spec_string ("scheme", NULL, NULL,
NULL,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));