diff options
author | Sophie Herold <sophie@hemio.de> | 2023-04-28 01:59:26 +0200 |
---|---|---|
committer | Sophie Herold <sophie@hemio.de> | 2023-04-28 02:17:36 +0200 |
commit | e02808020ffbe82ad14c9bca2f4a157aa2b1b691 (patch) | |
tree | 69152391d3693bb9437b5949afbf3a11b2f04b80 /gio/ginetsocketaddress.c | |
parent | 473063383df0ec135fd86b75b6f7f1dd20a8e2aa (diff) | |
download | glib-wip/sophie-h/remove-nick-blurb.tar.gz |
Remove all nicks and blurbs from param specswip/sophie-h/remove-nick-blurb
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
Diffstat (limited to 'gio/ginetsocketaddress.c')
-rw-r--r-- | gio/ginetsocketaddress.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gio/ginetsocketaddress.c b/gio/ginetsocketaddress.c index 769303558..8af142024 100644 --- a/gio/ginetsocketaddress.c +++ b/gio/ginetsocketaddress.c @@ -254,18 +254,14 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass) gsocketaddress_class->get_native_size = g_inet_socket_address_get_native_size; g_object_class_install_property (gobject_class, PROP_ADDRESS, - g_param_spec_object ("address", - P_("Address"), - P_("The address"), + g_param_spec_object ("address", NULL, NULL, G_TYPE_INET_ADDRESS, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_PORT, - g_param_spec_uint ("port", - P_("Port"), - P_("The port"), + g_param_spec_uint ("port", NULL, NULL, 0, 65535, 0, @@ -281,9 +277,7 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass) * Since: 2.32 */ g_object_class_install_property (gobject_class, PROP_FLOWINFO, - g_param_spec_uint ("flowinfo", - P_("Flow info"), - P_("IPv6 flow info"), + g_param_spec_uint ("flowinfo", NULL, NULL, 0, G_MAXUINT32, 0, @@ -299,9 +293,7 @@ g_inet_socket_address_class_init (GInetSocketAddressClass *klass) * Since: 2.32 */ g_object_class_install_property (gobject_class, PROP_SCOPE_ID, - g_param_spec_uint ("scope-id", - P_("Scope ID"), - P_("IPv6 scope ID"), + g_param_spec_uint ("scope-id", NULL, NULL, 0, G_MAXUINT32, 0, |