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

@@ -82,9 +82,7 @@ g_data_input_stream_class_init (GDataInputStreamClass *klass)
*/
g_object_class_install_property (object_class,
PROP_BYTE_ORDER,
g_param_spec_enum ("byte-order",
P_("Byte order"),
P_("The byte order"),
g_param_spec_enum ("byte-order", NULL, NULL,
G_TYPE_DATA_STREAM_BYTE_ORDER,
G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN,
G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_BLURB));
@@ -97,9 +95,7 @@ g_data_input_stream_class_init (GDataInputStreamClass *klass)
*/
g_object_class_install_property (object_class,
PROP_NEWLINE_TYPE,
g_param_spec_enum ("newline-type",
P_("Newline type"),
P_("The accepted types of line ending"),
g_param_spec_enum ("newline-type", NULL, NULL,
G_TYPE_DATA_STREAM_NEWLINE_TYPE,
G_DATA_STREAM_NEWLINE_TYPE_LF,
G_PARAM_READWRITE|G_PARAM_STATIC_NAME|G_PARAM_STATIC_BLURB));