Commit 6c546ffd authored by Mikael Hermansson's avatar Mikael Hermansson
Browse files

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.
parent 63ea4204
...@@ -277,11 +277,10 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class) ...@@ -277,11 +277,10 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_WEIGHT, PROP_WEIGHT,
g_param_spec_int ("weight", g_param_spec_enum ("weight",
_("Font weight"), _("Font weight"),
_("Font weight"), _("Font weight"),
0, PANGO_TYPE_WEIGHT,
G_MAXINT,
PANGO_WEIGHT_NORMAL, PANGO_WEIGHT_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment