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:
Sven Neumann 2008-09-30 11:09:06 +00:00 committed by Sven Neumann
parent f666fe0f0b
commit 945fdb7cc0
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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);