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

@@ -195,9 +195,7 @@ g_tls_password_class_init (GTlsPasswordClass *klass)
* Since: 2.30
*/
g_object_class_install_property (gobject_class, PROP_FLAGS,
g_param_spec_flags ("flags",
P_("Flags"),
P_("Flags about the password"),
g_param_spec_flags ("flags", NULL, NULL,
G_TYPE_TLS_PASSWORD_FLAGS,
G_TLS_PASSWORD_NONE,
G_PARAM_READWRITE |
@@ -211,9 +209,7 @@ g_tls_password_class_init (GTlsPasswordClass *klass)
* Since: 2.30
*/
g_object_class_install_property (gobject_class, PROP_DESCRIPTION,
g_param_spec_string ("description",
P_("Description"),
P_("Description of what the password is for"),
g_param_spec_string ("description", NULL, NULL,
NULL,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));
@@ -226,9 +222,7 @@ g_tls_password_class_init (GTlsPasswordClass *klass)
* Since: 2.30
*/
g_object_class_install_property (gobject_class, PROP_WARNING,
g_param_spec_string ("warning",
P_("Warning"),
P_("Warning about the password"),
g_param_spec_string ("warning", NULL, NULL,
NULL,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));