Commit 945fdb7c authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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
parent f666fe0f
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);
......
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