[lasem] svg_view: remove unused parameter from lsm_svg_view_create_surface_pattern.



commit cd180a85093329b1979c4b65c1b3d9a6a4701391
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sat Aug 28 15:47:27 2010 +0200

    svg_view: remove unused parameter from lsm_svg_view_create_surface_pattern.

 src/lsmsvgmaskelement.c    |    1 -
 src/lsmsvgpatternelement.c |    1 -
 src/lsmsvgview.c           |    1 -
 src/lsmsvgview.h           |    1 -
 4 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/lsmsvgmaskelement.c b/src/lsmsvgmaskelement.c
index 1213bff..a85f8d9 100644
--- a/src/lsmsvgmaskelement.c
+++ b/src/lsmsvgmaskelement.c
@@ -93,7 +93,6 @@ lsm_svg_mask_element_render (LsmSvgElement *self, LsmSvgView *view)
 	}
 
 	if (!lsm_svg_view_create_surface_pattern (view, &viewport,
-						  mask->units.value,
 						  NULL,
 						  LSM_SVG_VIEW_SURFACE_TYPE_IMAGE)) {
 		lsm_debug ("render", "[LsmSvgMaskElement::render] Intermediate surface creation failed");
diff --git a/src/lsmsvgpatternelement.c b/src/lsmsvgpatternelement.c
index 8fdf819..a10d737 100644
--- a/src/lsmsvgpatternelement.c
+++ b/src/lsmsvgpatternelement.c
@@ -209,7 +209,6 @@ lsm_svg_pattern_element_render (LsmSvgElement *self, LsmSvgView *view)
 		   viewport.x, viewport.y, viewport.width, viewport.height);
 
 	if (!lsm_svg_view_create_surface_pattern (view, &image_box,
-						  pattern->units.value,
 						  &pattern->transform.matrix,
 						  LSM_SVG_VIEW_SURFACE_TYPE_AUTO)) {
 		lsm_debug ("render", "[LsmSvgPatternElement::render] Intermediate surface creation failed");
diff --git a/src/lsmsvgview.c b/src/lsmsvgview.c
index 2da728f..d9d2dc9 100644
--- a/src/lsmsvgview.c
+++ b/src/lsmsvgview.c
@@ -240,7 +240,6 @@ lsm_svg_view_set_gradient_properties (LsmSvgView *view,
 gboolean
 lsm_svg_view_create_surface_pattern (LsmSvgView *view,
 				     const LsmBox *viewport,
-				     LsmSvgPatternUnits units,
 				     const LsmSvgMatrix *pattern_matrix,
 				     LsmSvgViewSurfaceType surface_type)
 {
diff --git a/src/lsmsvgview.h b/src/lsmsvgview.h
index f5be44a..390d2c3 100644
--- a/src/lsmsvgview.h
+++ b/src/lsmsvgview.h
@@ -102,7 +102,6 @@ void 		lsm_svg_view_set_gradient_properties	(LsmSvgView *view,
 							 const LsmSvgMatrix *matrix);
 
 gboolean	lsm_svg_view_create_surface_pattern	(LsmSvgView *view, const LsmBox *viewport,
-							 LsmSvgPatternUnits units,
 							 const LsmSvgMatrix *matrix,
 							 LsmSvgViewSurfaceType surface_type) G_GNUC_WARN_UNUSED_RESULT;
 



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