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

@@ -69,9 +69,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
* Deprecated: 2.72: Do not attempt to ignore validation errors.
*/
g_object_interface_install_property (iface,
g_param_spec_flags ("validation-flags",
P_("Validation flags"),
P_("What certificate validation to perform"),
g_param_spec_flags ("validation-flags", NULL, NULL,
G_TYPE_TLS_CERTIFICATE_FLAGS,
G_TLS_CERTIFICATE_VALIDATE_ALL,
G_PARAM_READWRITE |
@@ -100,9 +98,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
* Since: 2.28
*/
g_object_interface_install_property (iface,
g_param_spec_object ("server-identity",
P_("Server identity"),
P_("GSocketConnectable identifying the server"),
g_param_spec_object ("server-identity", NULL, NULL,
G_TYPE_SOCKET_CONNECTABLE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
@@ -119,9 +115,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
* Deprecated: 2.56: SSL 3.0 is insecure.
*/
g_object_interface_install_property (iface,
g_param_spec_boolean ("use-ssl3",
P_("Use fallback"),
P_("Use fallback version of SSL/TLS rather than most recent version"),
g_param_spec_boolean ("use-ssl3", NULL, NULL,
FALSE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
@@ -142,9 +136,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
* Since: 2.28
*/
g_object_interface_install_property (iface,
g_param_spec_pointer ("accepted-cas",
P_("Accepted CAs"),
P_("Distinguished names of the CAs the server accepts certificates from"),
g_param_spec_pointer ("accepted-cas", NULL, NULL,
G_PARAM_READABLE |
G_PARAM_STATIC_STRINGS));
}