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/gaction.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/gaction.c')
-rw-r--r-- | gio/gaction.c | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/gio/gaction.c b/gio/gaction.c index 5599137fd..91f479163 100644 --- a/gio/gaction.c +++ b/gio/gaction.c @@ -100,9 +100,7 @@ g_action_default_init (GActionInterface *iface) * Since: 2.28 **/ g_object_interface_install_property (iface, - g_param_spec_string ("name", - P_("Action Name"), - P_("The name used to invoke the action"), + g_param_spec_string ("name", NULL, NULL, NULL, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); @@ -117,9 +115,7 @@ g_action_default_init (GActionInterface *iface) * Since: 2.28 **/ g_object_interface_install_property (iface, - g_param_spec_boxed ("parameter-type", - P_("Parameter Type"), - P_("The type of GVariant passed to activate()"), + g_param_spec_boxed ("parameter-type", NULL, NULL, G_TYPE_VARIANT_TYPE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); @@ -135,9 +131,7 @@ g_action_default_init (GActionInterface *iface) * Since: 2.28 **/ g_object_interface_install_property (iface, - g_param_spec_boolean ("enabled", - P_("Enabled"), - P_("If the action can be activated"), + g_param_spec_boolean ("enabled", NULL, NULL, TRUE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); @@ -151,9 +145,7 @@ g_action_default_init (GActionInterface *iface) * Since: 2.28 **/ g_object_interface_install_property (iface, - g_param_spec_boxed ("state-type", - P_("State Type"), - P_("The type of the state kept by the action"), + g_param_spec_boxed ("state-type", NULL, NULL, G_TYPE_VARIANT_TYPE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); @@ -166,9 +158,7 @@ g_action_default_init (GActionInterface *iface) * Since: 2.28 **/ g_object_interface_install_property (iface, - g_param_spec_variant ("state", - P_("State"), - P_("The state the action is in"), + g_param_spec_variant ("state", NULL, NULL, G_VARIANT_TYPE_ANY, NULL, G_PARAM_READABLE | |