gtk-css-engine r176 - in trunk: . src



Author: robsta
Date: Wed Oct 29 17:19:29 2008
New Revision: 176
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=176&view=rev

Log:
* src/gce-style.c (gap), (line): fix problem that prohibits line' primitives from being drawn.

Modified:
   trunk/ChangeLog
   trunk/src/gce-style.c

Modified: trunk/src/gce-style.c
==============================================================================
--- trunk/src/gce-style.c	(original)
+++ trunk/src/gce-style.c	Wed Oct 29 17:19:29 2008
@@ -112,7 +112,6 @@
 	ret = ccss_stylesheet_query_apply (stylesheet, (ccss_node_t const *) base, style);
 	if (ret) {
 		cr = gdk_cairo_create (window);
-		style = ccss_style_new ();
 
 		if (area) {
 			gdk_cairo_rectangle (cr, area);
@@ -160,7 +159,6 @@
 	ret = ccss_stylesheet_query_apply (stylesheet, (ccss_node_t const *) base, style);
 	if (ret) {
 		cr = gdk_cairo_create (window);
-		style = ccss_style_new ();
 
 		if (area) {
 			gdk_cairo_rectangle (cr, area);



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