murrine r68 - in trunk: . src



Author: acimitan
Date: Fri Sep 26 12:08:57 2008
New Revision: 68
URL: http://svn.gnome.org/viewvc/murrine?rev=68&view=rev

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

	* src/murrine_style.c (murrine_style_draw_box):
	Fixed a leak and a bug for rtl (right to left) progressbar's orientation



Modified:
   trunk/ChangeLog
   trunk/src/murrine_style.c

Modified: trunk/src/murrine_style.c
==============================================================================
--- trunk/src/murrine_style.c	(original)
+++ trunk/src/murrine_style.c	Fri Sep 26 12:08:57 2008
@@ -955,6 +955,9 @@
 		ProgressBarParameters progressbar;
 		gdouble               elapsed = 0.0;
 
+		murrine_set_widget_parameters (widget, style, state_type, &params);
+		params.roundness = murrine_style->roundness;
+
 		if (widget && MRN_IS_PROGRESS_BAR (widget))
 			progressbar.orientation = gtk_progress_bar_get_orientation (GTK_PROGRESS_BAR (widget));
 		else
@@ -980,9 +983,6 @@
 		elapsed = murrine_animation_elapsed (widget);
 #endif
 
-		murrine_set_widget_parameters (widget, style, state_type, &params);
-		params.roundness = murrine_style->roundness;
-
 		/* cairo_reset_clip (cr); */
 
 		/* The x-1 and width+2 are to make the fill cover the left and



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