mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
actually use the passed weight.
2008-09-30 Sven Neumann <sven@gimp.org> * app/widgets/gimpwidgets-utils.c (gimp_pango_layout_set_weight): actually use the passed weight. svn path=/trunk/; revision=27087
This commit is contained in:
parent
f666fe0f0b
commit
945fdb7cc0
|
@ -1,3 +1,8 @@
|
|||
2008-09-30 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpwidgets-utils.c (gimp_pango_layout_set_weight):
|
||||
actually use the passed weight.
|
||||
|
||||
2008-09-30 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/config/gimpbaseconfig.c
|
||||
|
|
|
@ -1086,7 +1086,7 @@ gimp_pango_layout_set_weight (PangoLayout *layout,
|
|||
|
||||
attrs = pango_attr_list_new ();
|
||||
|
||||
attr = pango_attr_weight_new (PANGO_WEIGHT_SEMIBOLD);
|
||||
attr = pango_attr_weight_new (weight);
|
||||
attr->start_index = 0;
|
||||
attr->end_index = -1;
|
||||
pango_attr_list_insert (attrs, attr);
|
||||
|
|
Loading…
Reference in a new issue