commit e4f7c776c87c6f5bb2bf78e0983e3048b105151e
Author: Christophe Fergeau <t...@gnome.org>
Date:   Sun Sep 19 22:57:22 2010 +0200

    Add ITDB_ERROR as a domain for GErrors
    
    libgpod already has an ITDB_FILE_ERROR domain, but it's too specific,
    add the really generic ITDB_ERROR domain which will be used from now
    on.

 src/itdb.h |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/src/itdb.h b/src/itdb.h
index 05aee8d..62a63ff 100644
--- a/src/itdb.h
+++ b/src/itdb.h
@@ -1749,9 +1749,19 @@ typedef enum
     ITDB_FILE_ERROR_ITDB_CORRUPT
 } ItdbFileError;
 
+typedef enum
+{
+    ITDB_ERROR_SEEK,
+    ITDB_ERROR_CORRUPT,
+    ITDB_ERROR_NOTFOUND,
+    ITDB_ERROR_RENAME,
+    ITDB_ERROR_ITDB_CORRUPT,
+} ItdbError;
+
 
 /* Error domain */
-#define ITDB_FILE_ERROR itdb_file_error_quark ()
+#define ITDB_ERROR itdb_file_error_quark ()
+#define ITDB_FILE_ERROR ITDB_ERROR
 GQuark     itdb_file_error_quark      (void);
 
 

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to