[gtk+/parser: 17/74] API: cssprovider: Add more error codes



commit ee8037296bc53a8020de81267e76d497bbabb05c
Author: Benjamin Otte <otte redhat com>
Date:   Fri Apr 8 00:07:55 2011 +0200

    API: cssprovider: Add more error codes

 gtk/gtkcssprovider.h |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssprovider.h b/gtk/gtkcssprovider.h
index a2f8ce0..65292df 100644
--- a/gtk/gtkcssprovider.h
+++ b/gtk/gtkcssprovider.h
@@ -35,7 +35,17 @@ G_BEGIN_DECLS
 
 typedef enum
 {
-  GTK_CSS_PROVIDER_ERROR_FAILED
+  GTK_CSS_PROVIDER_ERROR_FAILED,
+  GTK_CSS_PROVIDER_ERROR_SYNTAX,
+  GTK_CSS_PROVIDER_ERROR_PROPERTY_NAME,
+  GTK_CSS_PROVIDER_ERROR_PROPERTY_VALUE,
+  GTK_CSS_PROVIDER_ERROR_SELECTOR,
+  GTK_CSS_PROVIDER_ERROR_COMBINATOR,
+  GTK_CSS_PROVIDER_ERROR_CLASS,
+  GTK_CSS_PROVIDER_ERROR_PSEUDO_CLASS,
+  GTK_CSS_PROVIDER_ERROR_AT_RULE,
+  GTK_CSS_PROVIDER_ERROR_IMPORT,
+  GTK_CSS_PROVIDER_ERROR_DEFINE_COLOR
 } GtkCssProviderError;
 
 GQuark gtk_css_provider_error_quark (void);



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