gimp r27087 - in trunk: . app/widgets



Author: neo
Date: Tue Sep 30 11:09:06 2008
New Revision: 27087
URL: http://svn.gnome.org/viewvc/gimp?rev=27087&view=rev

Log:
2008-09-30  Sven Neumann  <sven gimp org>

	* app/widgets/gimpwidgets-utils.c 
(gimp_pango_layout_set_weight):
	actually use the passed weight.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimpwidgets-utils.c

Modified: trunk/app/widgets/gimpwidgets-utils.c
==============================================================================
--- trunk/app/widgets/gimpwidgets-utils.c	(original)
+++ trunk/app/widgets/gimpwidgets-utils.c	Tue Sep 30 11:09:06 2008
@@ -1086,7 +1086,7 @@
 
   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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]