[lasem/lasem-0-4] Use the right enum type



commit b5f10919fe29e34a4c88b64396c4abc11bf80ede
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date:   Mon Dec 31 23:47:02 2012 +0100

    Use the right enum type

 src/lsmsvgtraits.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/lsmsvgtraits.c b/src/lsmsvgtraits.c
index 053467e..acb97c7 100644
--- a/src/lsmsvgtraits.c
+++ b/src/lsmsvgtraits.c
@@ -1135,7 +1135,7 @@ const LsmTraitClass lsm_svg_overflow_trait_class = {
 static gboolean
 lsm_svg_writing_mode_trait_from_string (LsmTrait *abstract_trait, char *string)
 {
-	LsmSvgDisplay *trait = (LsmSvgDisplay *) abstract_trait;
+	LsmSvgWritingMode *trait = (LsmSvgWritingMode *) abstract_trait;
 
 	*trait = lsm_svg_writing_mode_from_string (string);
 
@@ -1145,7 +1145,7 @@ lsm_svg_writing_mode_trait_from_string (LsmTrait *abstract_trait, char *string)
 char *
 lsm_svg_writing_mode_trait_to_string (LsmTrait *abstract_trait)
 {
-	LsmSvgDisplay *trait = (LsmSvgDisplay *) abstract_trait;
+	LsmSvgWritingMode *trait = (LsmSvgWritingMode *) abstract_trait;
 
 	return g_strdup (lsm_svg_writing_mode_to_string (*trait));
 }



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