aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-16 00:39:38 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:53:18 +0800
commit181c2a5ab6417c2e745e507d64b66f4c6ba261f6 (patch)
treee9321c961fd21603da9da862afae3041efb700f8 /libempathy
parent4f3b1c138451c622204bfbc77467ac4d247b035a (diff)
downloadgsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.gz
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.bz2
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.lz
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.xz
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.tar.zst
gsoc2013-empathy-181c2a5ab6417c2e745e507d64b66f4c6ba261f6.zip
Move the error declaration in empathy-tp-file.h
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-file.h10
-rw-r--r--libempathy/empathy-utils.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h
index 85d693ba8..f120558d5 100644
--- a/libempathy/empathy-tp-file.h
+++ b/libempathy/empathy-tp-file.h
@@ -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;
diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h
index fc3df4bf9..d36503c7f 100644
--- a/libempathy/empathy-utils.h
+++ b/libempathy/empathy-utils.h
@@ -40,18 +40,8 @@
#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,