[lasem] [SVG] Fix a last minute edit typo in the clipping support patch.



commit 5e7c2b9a5e80914a2a49f787debc21b8204a2571
Author: Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Date:   Sun May 24 17:43:26 2009 +0200

    [SVG] Fix a last minute edit typo in the clipping support patch.
---
 src/lsmsvgview.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/lsmsvgview.c b/src/lsmsvgview.c
index af40278..0d18f79 100644
--- a/src/lsmsvgview.c
+++ b/src/lsmsvgview.c
@@ -851,7 +851,7 @@ lsm_svg_view_push_clip (LsmSvgView *view, char *clip_path, LsmSvgFillRule clip_r
 
 		g_free (uri);
 
-		if (element != NULL && !LSM_IS_SVG_CLIP_PATH_ELEMENT (element)) {
+		if (element != NULL && LSM_IS_SVG_CLIP_PATH_ELEMENT (element)) {
 			view->is_clipping = TRUE;
 			lsm_svg_element_render_clip (LSM_SVG_ELEMENT (element), view);
 			cairo_clip (view->dom_view.cairo);
@@ -1120,8 +1120,6 @@ process_path (LsmSvgView *view)
 
 		fill = view->fill_stack->data;
 		cairo_set_fill_rule (view->dom_view.cairo, fill->clip_rule.value);
-		g_message ("Clip (rule = %s)", lsm_svg_fill_rule_to_string (fill->clip_rule.value));
-/*                cairo_clip (view->dom_view.cairo);*/
 	} else
 		paint (view);
 }



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