murrine r66 - in trunk: . src



Author: acimitan
Date: Sun Sep 14 01:57:56 2008
New Revision: 66
URL: http://svn.gnome.org/viewvc/murrine?rev=66&view=rev

Log:
2008-09-14  Andrea Cimitan  <andrea cimitan gmail com>

	* src/cairo-support.c (get_decreased_gradient_shades):
	Fixed a bug in gradients introduced in rev 65 :)


Modified:
   trunk/ChangeLog
   trunk/src/cairo-support.c

Modified: trunk/src/cairo-support.c
==============================================================================
--- trunk/src/cairo-support.c	(original)
+++ trunk/src/cairo-support.c	Sun Sep 14 01:57:56 2008
@@ -663,7 +663,7 @@
 MurrineGradients
 get_decreased_gradient_shades (MurrineGradients mrn_gradient, double factor)
 {
-	MurrineGradients mrn_gradient_custom;
+	MurrineGradients mrn_gradient_custom = mrn_gradient;
 
 	mrn_gradient_custom.gradient_shades[0] = get_decreased_ratio (mrn_gradient.gradient_shades[0], factor);
 	mrn_gradient_custom.gradient_shades[1] = get_decreased_ratio (mrn_gradient.gradient_shades[1], factor);



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