summaryrefslogtreecommitdiff
path: root/gtk/gtkcheckbutton.c
diff options
context:
space:
mode:
authorSophie Herold <sophie@hemio.de>2022-05-11 14:19:39 +0200
committerSophie Herold <sophie@hemio.de>2022-05-11 18:16:29 +0200
commita546ae32d773a26f2f329f237e94bef74db6cce1 (patch)
tree2ae64ca0eee53ad0c73ec845ed9734c1df91b95d /gtk/gtkcheckbutton.c
parent9536eb654b15b2a906d4b63bbb9bb56a81e0a146 (diff)
downloadgtk+-a546ae32d773a26f2f329f237e94bef74db6cce1.tar.gz
Remove all nicks and blurbs from param specs
Those property features don't seem to be in use anywhere. They are redundant since the docs cover the same information and more. They also created unnecessary translation work. Closes #4904
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r--gtk/gtkcheckbutton.c24
1 files changed, 6 insertions, 18 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index d304fae93c..c97fa815e1 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -578,9 +578,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
* the check button and the indicator CSS node.
*/
props[PROP_ACTIVE] =
- g_param_spec_boolean ("active",
- P_("Active"),
- P_("If the toggle button should be pressed in"),
+ g_param_spec_boolean ("active", NULL, NULL,
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -590,9 +588,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
* The check button whose group this widget belongs to.
*/
props[PROP_GROUP] =
- g_param_spec_object ("group",
- P_("Group"),
- P_("The check button whose group this widget belongs to."),
+ g_param_spec_object ("group", NULL, NULL,
GTK_TYPE_CHECK_BUTTON,
GTK_PARAM_WRITABLE);
@@ -602,9 +598,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
* Text of the label inside the check button, if it contains a label widget.
*/
props[PROP_LABEL] =
- g_param_spec_string ("label",
- P_("Label"),
- P_("Text of the label widget inside the button, if the button contains a label widget"),
+ g_param_spec_string ("label", NULL, NULL,
NULL,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -617,9 +611,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
* not the semantics of the button.
*/
props[PROP_INCONSISTENT] =
- g_param_spec_boolean ("inconsistent",
- P_("Inconsistent"),
- P_("If the check button is in an “in between” state"),
+ g_param_spec_boolean ("inconsistent", NULL, NULL,
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -630,9 +622,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
* character is to be used as mnemonic.
*/
props[PROP_USE_UNDERLINE] =
- g_param_spec_boolean ("use-underline",
- P_("Use underline"),
- P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+ g_param_spec_boolean ("use-underline", NULL, NULL,
FALSE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -644,9 +634,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
* Since: 4.8
*/
props[PROP_CHILD] =
- g_param_spec_object ("child",
- P_("Child"),
- P_("The child widget"),
+ g_param_spec_object ("child", NULL, NULL,
GTK_TYPE_WIDGET,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);