[lasem/mml-attrs: 4/5] [Mathml] More renames.



commit cf26c6a4068d01a4000175a6a0835cfa24791c90
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Nov 15 17:26:44 2009 +0100

    [Mathml] More renames.

 src/lsmmathmlattributes.c |    4 ++--
 src/lsmmathmlattributes.h |   11 ++---------
 src/lsmmathmlenums.h      |    7 +++++++
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/lsmmathmlattributes.c b/src/lsmmathmlattributes.c
index b6cb336..52e2c02 100644
--- a/src/lsmmathmlattributes.c
+++ b/src/lsmmathmlattributes.c
@@ -213,7 +213,7 @@ lsm_mathml_attribute_map_set_css_attribute (LsmMathmlAttributeMap *map,
 					    void *instance,
 					    const char *name,
 					    const char *value,
-					    LsmDomCssType type)
+					    LsmMathmlCssType type)
 {
 	LsmMathmlAttribute *attribute;
 
@@ -340,7 +340,7 @@ lsm_mathml_attribute_get_value (const LsmMathmlAttribute *attribute)
 	g_return_val_if_fail (attribute != NULL, NULL);
 
 	if (attribute->css_value != NULL &&
-	    attribute->css_type >= LSM_DOM_CSS_TYPE_AUTHOR)
+	    attribute->css_type >= LSM_MATHML_CSS_TYPE_AUTHOR)
 		return attribute->css_value;
 
 	return attribute->value;
diff --git a/src/lsmmathmlattributes.h b/src/lsmmathmlattributes.h
index 887bf1a..7739f59 100644
--- a/src/lsmmathmlattributes.h
+++ b/src/lsmmathmlattributes.h
@@ -29,17 +29,10 @@
 
 G_BEGIN_DECLS
 
-typedef enum {
-	LSM_DOM_CSS_TYPE_USER,
-	LSM_DOM_CSS_TYPE_AUTHOR,
-	LSM_DOM_CSS_TYPE_AUTHOR_IMPORTANT,
-	LSM_DOM_CSS_TYPE_USER_IMPORTANT
-} LsmDomCssType;
-
 typedef struct {
 	char *value;
 	char *css_value;
-	LsmDomCssType css_type;
+	LsmMathmlCssType css_type;
 } LsmMathmlAttribute;
 
 typedef struct {
@@ -93,7 +86,7 @@ gboolean	lsm_mathml_attribute_map_set_css_attribute	(LsmMathmlAttributeMap *map,
 								 void *instance,
 								 char const *name,
 								 char const *value,
-								 LsmDomCssType css_type);
+								 LsmMathmlCssType css_type);
 gboolean	lsm_mathml_attribute_map_is_attribute_defined	(LsmMathmlAttributeMap *map,
 								 void *instance,
 								 char const *name);
diff --git a/src/lsmmathmlenums.h b/src/lsmmathmlenums.h
index e2227c0..0c3e401 100644
--- a/src/lsmmathmlenums.h
+++ b/src/lsmmathmlenums.h
@@ -28,6 +28,13 @@
 G_BEGIN_DECLS
 
 typedef enum {
+	LSM_MATHML_CSS_TYPE_USER,
+	LSM_MATHML_CSS_TYPE_AUTHOR,
+	LSM_MATHML_CSS_TYPE_AUTHOR_IMPORTANT,
+	LSM_MATHML_CSS_TYPE_USER_IMPORTANT
+} LsmMathmlCssType;
+
+typedef enum {
 	LSM_MATHML_MODE_DISPLAY,
 	LSM_MATHML_MODE_INLINE
 } LsmMathmlMode;



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