[lasem] <svg:svg> Use view_push_viewport instead of view_push_viewbox.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [lasem] <svg:svg> Use view_push_viewport instead of view_push_viewbox.
- Date: Sat, 15 Aug 2009 20:12:24 +0000 (UTC)
commit ecd6ad13433863644061bd84e594ed610e38d7e0
Author: Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Date: Sat Aug 15 22:09:07 2009 +0200
<svg:svg> Use view_push_viewport instead of view_push_viewbox.
Mainly for consistency with the other elements. lsm_svg_vew_push_viewbox
should not be used outside of lsm_svg_view.c.
src/lsmsvgsvgelement.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/lsmsvgsvgelement.c b/src/lsmsvgsvgelement.c
index 9537697..68045a3 100644
--- a/src/lsmsvgsvgelement.c
+++ b/src/lsmsvgsvgelement.c
@@ -139,9 +139,9 @@ _svg_element_render (LsmSvgElement *self, LsmSvgView *view)
void
lsm_svg_svg_element_render (LsmSvgSvgElement *svg, LsmSvgView *view)
{
- lsm_svg_view_push_viewbox (view, &svg->svg_box);
+ lsm_svg_view_push_viewport (view, &svg->svg_box, NULL, NULL);
lsm_svg_element_render (LSM_SVG_ELEMENT (svg), view);
- lsm_svg_view_pop_viewbox (view);
+ lsm_svg_view_pop_viewport (view);
}
LsmDomNode *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]