]> git.0d.be Git - empathy.git/commitdiff
Move the error declaration in empathy-tp-file.h
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>
Fri, 15 May 2009 16:39:38 +0000 (18:39 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 1 Jun 2009 15:53:18 +0000 (17:53 +0200)
libempathy/empathy-tp-file.h
libempathy/empathy-utils.h

index 85d693ba836a45ea7b16a3da2b9794143950d0e5..f120558d546e3670c8d131a055c8648896192bcc 100644 (file)
@@ -45,6 +45,16 @@ G_BEGIN_DECLS
 #define EMPATHY_TP_FILE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
     EMPATHY_TYPE_TP_FILE, EmpathyTpFileClass))
 
+#define EMPATHY_FT_ERROR_QUARK g_quark_from_static_string ("EmpathyFTError")
+
+typedef enum {
+       EMPATHY_FT_ERROR_FAILED,
+       EMPATHY_FT_ERROR_HASH_MISMATCH,
+       EMPATHY_FT_ERROR_TP_ERROR,
+       EMPATHY_FT_ERROR_SOCKET,
+       EMPATHY_FT_ERROR_NOT_SUPPORTED
+} EmpathyFTErrorEnum;
+
 typedef struct _EmpathyTpFile EmpathyTpFile;
 typedef struct _EmpathyTpFileClass EmpathyTpFileClass;
 
index fc3df4bf9b1c144b43e868cff6c9ffe82816780a..d36503c7ffcfdca786b6abd94f285135cc8ce0ec 100644 (file)
 #define EMPATHY_GET_PRIV(obj,type) ((type##Priv *) ((type *) obj)->priv)
 #define EMP_STR_EMPTY(x) ((x) == NULL || (x)[0] == '\0')
 
-#define EMPATHY_FT_ERROR_QUARK g_quark_from_static_string ("EmpathyFTError")
-
 G_BEGIN_DECLS
 
-typedef enum {
-       EMPATHY_FT_ERROR_FAILED,
-       EMPATHY_FT_ERROR_HASH_MISMATCH,
-       EMPATHY_FT_ERROR_TP_ERROR,
-       EMPATHY_FT_ERROR_SOCKET,
-       EMPATHY_FT_ERROR_NOT_SUPPORTED
-} EmpathyFTErrorEnum;
-
 void         empathy_init                           (void);
 /* Strings */
 gchar *      empathy_substring                      (const gchar     *str,