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/gnetworkservice.c | |
parent | 473063383df0ec135fd86b75b6f7f1dd20a8e2aa (diff) | |
download | glib-e02808020ffbe82ad14c9bca2f4a157aa2b1b691.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/gnetworkservice.c')
-rw-r--r-- | gio/gnetworkservice.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gio/gnetworkservice.c b/gio/gnetworkservice.c index 8fa74eca3..698e2ea1f 100644 --- a/gio/gnetworkservice.c +++ b/gio/gnetworkservice.c @@ -124,33 +124,25 @@ g_network_service_class_init (GNetworkServiceClass *klass) gobject_class->finalize = g_network_service_finalize; g_object_class_install_property (gobject_class, PROP_SERVICE, - g_param_spec_string ("service", - P_("Service"), - P_("Service name, eg \"ldap\""), + g_param_spec_string ("service", NULL, NULL, NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_PROTOCOL, - g_param_spec_string ("protocol", - P_("Protocol"), - P_("Network protocol, eg \"tcp\""), + g_param_spec_string ("protocol", NULL, NULL, NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_DOMAIN, - g_param_spec_string ("domain", - P_("Domain"), - P_("Network domain, eg, \"example.com\""), + g_param_spec_string ("domain", NULL, NULL, NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_DOMAIN, - g_param_spec_string ("scheme", - P_("Scheme"), - P_("Network scheme (default is to use service)"), + g_param_spec_string ("scheme", NULL, NULL, NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); |