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

@@ -152,9 +152,7 @@ g_buffered_output_stream_class_init (GBufferedOutputStreamClass *klass)
*/
g_object_class_install_property (object_class,
PROP_BUFSIZE,
g_param_spec_uint ("buffer-size",
P_("Buffer Size"),
P_("The size of the backend buffer"),
g_param_spec_uint ("buffer-size", NULL, NULL,
1,
G_MAXUINT,
DEFAULT_BUFFER_SIZE,
@@ -168,9 +166,7 @@ g_buffered_output_stream_class_init (GBufferedOutputStreamClass *klass)
*/
g_object_class_install_property (object_class,
PROP_AUTO_GROW,
g_param_spec_boolean ("auto-grow",
P_("Auto-grow"),
P_("Whether the buffer should automatically grow"),
g_param_spec_boolean ("auto-grow", NULL, NULL,
FALSE,
G_PARAM_READWRITE|
G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));