mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
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:
committed by
Philip Withnall
parent
f3aebf0c15
commit
0d268c4825
@@ -135,9 +135,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.72
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_PKCS12_DATA,
|
||||
g_param_spec_boxed ("pkcs12-data",
|
||||
P_("PKCS #12 data"),
|
||||
P_("The PKCS #12 data used for construction"),
|
||||
g_param_spec_boxed ("pkcs12-data", NULL, NULL,
|
||||
G_TYPE_BYTE_ARRAY,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -151,9 +149,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.72
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_PASSWORD,
|
||||
g_param_spec_string ("password",
|
||||
P_("Password"),
|
||||
P_("Password used when constructing from bytes"),
|
||||
g_param_spec_string ("password", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -168,9 +164,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_CERTIFICATE,
|
||||
g_param_spec_boxed ("certificate",
|
||||
P_("Certificate"),
|
||||
P_("The DER representation of the certificate"),
|
||||
g_param_spec_boxed ("certificate", NULL, NULL,
|
||||
G_TYPE_BYTE_ARRAY,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -185,9 +179,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_CERTIFICATE_PEM,
|
||||
g_param_spec_string ("certificate-pem",
|
||||
P_("Certificate (PEM)"),
|
||||
P_("The PEM representation of the certificate"),
|
||||
g_param_spec_string ("certificate-pem", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -216,9 +208,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY,
|
||||
g_param_spec_boxed ("private-key",
|
||||
P_("Private key"),
|
||||
P_("The DER representation of the certificate’s private key"),
|
||||
g_param_spec_boxed ("private-key", NULL, NULL,
|
||||
G_TYPE_BYTE_ARRAY,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -248,9 +238,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY_PEM,
|
||||
g_param_spec_string ("private-key-pem",
|
||||
P_("Private key (PEM)"),
|
||||
P_("The PEM representation of the certificate’s private key"),
|
||||
g_param_spec_string ("private-key-pem", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -278,9 +266,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.28
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_ISSUER,
|
||||
g_param_spec_object ("issuer",
|
||||
P_("Issuer"),
|
||||
P_("The certificate for the issuing entity"),
|
||||
g_param_spec_object ("issuer", NULL, NULL,
|
||||
G_TYPE_TLS_CERTIFICATE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -298,9 +284,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.68
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_PKCS11_URI,
|
||||
g_param_spec_string ("pkcs11-uri",
|
||||
P_("PKCS #11 URI"),
|
||||
P_("The PKCS #11 URI"),
|
||||
g_param_spec_string ("pkcs11-uri", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -315,9 +299,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.68
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_PRIVATE_KEY_PKCS11_URI,
|
||||
g_param_spec_string ("private-key-pkcs11-uri",
|
||||
P_("PKCS #11 URI"),
|
||||
P_("The PKCS #11 URI for a private key"),
|
||||
g_param_spec_string ("private-key-pkcs11-uri", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@@ -332,9 +314,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.70
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_NOT_VALID_BEFORE,
|
||||
g_param_spec_boxed ("not-valid-before",
|
||||
P_("Not Valid Before"),
|
||||
P_("Cert should not be considered valid before this time."),
|
||||
g_param_spec_boxed ("not-valid-before", NULL, NULL,
|
||||
G_TYPE_DATE_TIME,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
@@ -348,9 +328,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.70
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_NOT_VALID_AFTER,
|
||||
g_param_spec_boxed ("not-valid-after",
|
||||
P_("Not Valid after"),
|
||||
P_("Cert should not be considered valid after this time."),
|
||||
g_param_spec_boxed ("not-valid-after", NULL, NULL,
|
||||
G_TYPE_DATE_TIME,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
@@ -364,9 +342,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.70
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_SUBJECT_NAME,
|
||||
g_param_spec_string ("subject-name",
|
||||
P_("Subject Name"),
|
||||
P_("The subject name from the certificate."),
|
||||
g_param_spec_string ("subject-name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
@@ -379,9 +355,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.70
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_ISSUER_NAME,
|
||||
g_param_spec_string ("issuer-name",
|
||||
P_("Issuer Name"),
|
||||
P_("The issuer from the certificate."),
|
||||
g_param_spec_string ("issuer-name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
@@ -395,9 +369,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.70
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_DNS_NAMES,
|
||||
g_param_spec_boxed ("dns-names",
|
||||
P_("DNS Names"),
|
||||
P_("DNS Names listed on the cert."),
|
||||
g_param_spec_boxed ("dns-names", NULL, NULL,
|
||||
G_TYPE_PTR_ARRAY,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
@@ -411,9 +383,7 @@ g_tls_certificate_class_init (GTlsCertificateClass *class)
|
||||
* Since: 2.70
|
||||
*/
|
||||
g_object_class_install_property (gobject_class, PROP_IP_ADDRESSES,
|
||||
g_param_spec_boxed ("ip-addresses",
|
||||
P_("IP Addresses"),
|
||||
P_("IP Addresses listed on the cert."),
|
||||
g_param_spec_boxed ("ip-addresses", NULL, NULL,
|
||||
G_TYPE_PTR_ARRAY,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
|
Reference in New Issue
Block a user