mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
gtk/gtkcellrenderertext.c changed "weight" property type from
* gtk/gtkcellrenderertext.c changed "weight" property type from g_param_spec_int to g_param_spec_enum.
This commit is contained in:
parent
63ea4204ca
commit
6c546ffd82
@ -277,11 +277,10 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_WEIGHT,
|
||||
g_param_spec_int ("weight",
|
||||
g_param_spec_enum ("weight",
|
||||
_("Font weight"),
|
||||
_("Font weight"),
|
||||
0,
|
||||
G_MAXINT,
|
||||
PANGO_TYPE_WEIGHT,
|
||||
PANGO_WEIGHT_NORMAL,
|
||||
G_PARAM_READABLE | G_PARAM_WRITABLE));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user