diff options
author | Sophie Herold <sophie@hemio.de> | 2022-05-11 14:19:39 +0200 |
---|---|---|
committer | Sophie Herold <sophie@hemio.de> | 2022-05-11 18:16:29 +0200 |
commit | a546ae32d773a26f2f329f237e94bef74db6cce1 (patch) | |
tree | 2ae64ca0eee53ad0c73ec845ed9734c1df91b95d /gtk/gtkcellareacontext.c | |
parent | 9536eb654b15b2a906d4b63bbb9bb56a81e0a146 (diff) | |
download | gtk+-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/gtkcellareacontext.c')
-rw-r--r-- | gtk/gtkcellareacontext.c | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/gtk/gtkcellareacontext.c b/gtk/gtkcellareacontext.c index eec984c779..9886bccabc 100644 --- a/gtk/gtkcellareacontext.c +++ b/gtk/gtkcellareacontext.c @@ -109,9 +109,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class) */ g_object_class_install_property (object_class, PROP_CELL_AREA, - g_param_spec_object ("area", - P_("Area"), - P_("The Cell Area this context was created for"), + g_param_spec_object ("area", NULL, NULL, GTK_TYPE_CELL_AREA, GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); @@ -124,9 +122,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class) */ g_object_class_install_property (object_class, PROP_MIN_WIDTH, - g_param_spec_int ("minimum-width", - P_("Minimum Width"), - P_("Minimum cached width"), + g_param_spec_int ("minimum-width", NULL, NULL, -1, G_MAXINT, -1, GTK_PARAM_READABLE)); @@ -139,9 +135,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class) */ g_object_class_install_property (object_class, PROP_NAT_WIDTH, - g_param_spec_int ("natural-width", - P_("Minimum Width"), - P_("Minimum cached width"), + g_param_spec_int ("natural-width", NULL, NULL, -1, G_MAXINT, -1, GTK_PARAM_READABLE)); @@ -154,9 +148,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class) */ g_object_class_install_property (object_class, PROP_MIN_HEIGHT, - g_param_spec_int ("minimum-height", - P_("Minimum Height"), - P_("Minimum cached height"), + g_param_spec_int ("minimum-height", NULL, NULL, -1, G_MAXINT, -1, GTK_PARAM_READABLE)); @@ -169,9 +161,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class) */ g_object_class_install_property (object_class, PROP_NAT_HEIGHT, - g_param_spec_int ("natural-height", - P_("Minimum Height"), - P_("Minimum cached height"), + g_param_spec_int ("natural-height", NULL, NULL, -1, G_MAXINT, -1, GTK_PARAM_READABLE)); } |