summaryrefslogtreecommitdiff
path: root/gio/ginetsocketaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/ginetsocketaddress.c')
-rw-r--r--gio/ginetsocketaddress.c16
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,