[lasem] sgv_style: fix property ordering.



commit 7bc217a0ee64dd62f72b32a77a48bfd8a27af44d
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sat Oct 27 22:38:47 2012 +0200

    sgv_style: fix property ordering.

 src/lsmsvgstyle.c |   24 ++++++++++++------------
 src/lsmsvgstyle.h |    4 ++--
 2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/lsmsvgstyle.c b/src/lsmsvgstyle.c
index d928d5e..8c0cf77 100644
--- a/src/lsmsvgstyle.c
+++ b/src/lsmsvgstyle.c
@@ -205,18 +205,6 @@ static const LsmPropertyInfos lsm_svg_property_infos[] = {
 		.trait_default = "nonzero"
 	},
 	{
-		.name = "viewport-fill",
-		.id = LSM_PROPERTY_OFFSET_TO_ID (LsmSvgStyle, viewport_fill),
-		.trait_class = &lsm_svg_paint_trait_class,
-		.trait_default = "none" 
-	},
-	{
-		.name = "viewport-opacity",
-		.id = LSM_PROPERTY_OFFSET_TO_ID (LsmSvgStyle, viewport_opacity),
-		.trait_class = &lsm_double_trait_class,
-		.trait_default = "1"
-	},
-	{
 		.name = "font",
 		.id = LSM_PROPERTY_OFFSET_TO_ID (LsmSvgStyle, font),
 		.trait_class = &lsm_null_trait_class,
@@ -391,6 +379,18 @@ static const LsmPropertyInfos lsm_svg_property_infos[] = {
 		.trait_default = "auto"
 	},
 	{
+		.name = "viewport-fill",
+		.id = LSM_PROPERTY_OFFSET_TO_ID (LsmSvgStyle, viewport_fill),
+		.trait_class = &lsm_svg_paint_trait_class,
+		.trait_default = "none" 
+	},
+	{
+		.name = "viewport-opacity",
+		.id = LSM_PROPERTY_OFFSET_TO_ID (LsmSvgStyle, viewport_opacity),
+		.trait_class = &lsm_double_trait_class,
+		.trait_default = "1"
+	},
+	{
 		.name = "visibility",
 		.id = LSM_PROPERTY_OFFSET_TO_ID (LsmSvgStyle, visibility),
 		.trait_class = &lsm_svg_visibility_trait_class,
diff --git a/src/lsmsvgstyle.h b/src/lsmsvgstyle.h
index 3ae926d..8197d49 100644
--- a/src/lsmsvgstyle.h
+++ b/src/lsmsvgstyle.h
@@ -154,8 +154,6 @@ struct _LsmSvgStyle {
 	LsmSvgPaintProperty *		fill;
 	LsmSvgDoubleProperty *		fill_opacity;
 	LsmSvgFillRuleProperty *	fill_rule;
-	LsmSvgPaintProperty *		viewport_fill;
-	LsmSvgDoubleProperty *		viewport_opacity;
 	LsmProperty *			font;
 	LsmProperty *			font_family;
 	LsmSvgLengthProperty *		font_size;
@@ -185,6 +183,8 @@ struct _LsmSvgStyle {
 	LsmSvgLengthProperty *		stroke_width;
 	LsmSvgTextAnchorProperty *	text_anchor;
 	LsmProperty *			text_rendering;
+	LsmSvgPaintProperty *		viewport_fill;
+	LsmSvgDoubleProperty *		viewport_opacity;
 	LsmSvgVisibilityProperty *	visibility;
 	LsmProperty *			word_spacing;
 	LsmSvgWritingModeProperty *	writing_mode;



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