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

@@ -230,9 +230,7 @@ g_zlib_compressor_class_init (GZlibCompressorClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_FORMAT,
g_param_spec_enum ("format",
P_("compression format"),
P_("The format of the compressed data"),
g_param_spec_enum ("format", NULL, NULL,
G_TYPE_ZLIB_COMPRESSOR_FORMAT,
G_ZLIB_COMPRESSOR_FORMAT_ZLIB,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
@@ -248,9 +246,7 @@ g_zlib_compressor_class_init (GZlibCompressorClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_LEVEL,
g_param_spec_int ("level",
P_("compression level"),
P_("The level of compression from 0 (no compression) to 9 (most compression), -1 for the default level"),
g_param_spec_int ("level", NULL, NULL,
-1, 9,
-1,
G_PARAM_READWRITE |
@@ -268,9 +264,7 @@ g_zlib_compressor_class_init (GZlibCompressorClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_FILE_INFO,
g_param_spec_object ("file-info",
P_("file info"),
P_("File info"),
g_param_spec_object ("file-info", NULL, NULL,
G_TYPE_FILE_INFO,
G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));