gtk-engines r1217 - in trunk: . engines/industrial/src



Author: bberg
Date: Tue Jul 15 19:05:52 2008
New Revision: 1217
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1217&view=rev

Log:
2008-07-15  Benjamin Berg  <benjamin sipsolutions net>

	* engines/industrial/src/industrial_style.c: (real_draw_box_gap):
	Fill the gap in notebook correctly (bug #542625).


Modified:
   trunk/ChangeLog
   trunk/engines/industrial/src/industrial_style.c

Modified: trunk/engines/industrial/src/industrial_style.c
==============================================================================
--- trunk/engines/industrial/src/industrial_style.c	(original)
+++ trunk/engines/industrial/src/industrial_style.c	Tue Jul 15 19:05:52 2008
@@ -1127,7 +1127,6 @@
 	/* clip the gap area */
 	cairo_save (cr);
 	cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD);
-	cairo_rectangle (cr, x, y, width, height);
 
 	switch (gap_side) {
 	case GTK_POS_TOP:
@@ -1147,6 +1146,8 @@
 	ge_cairo_set_color (cr, &bg);
 	if (fill)
 		cairo_fill_preserve (cr);
+
+	cairo_rectangle (cr, x, y, width, height);
 	cairo_clip (cr);
 
 	/* reset fill rule */



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